Commit 9d2fe1c
[Clang][AArch64] Emit 'unimplemented' diagnostic for SME (llvm#80295)
When a function F has ZA and ZT0 state, calls another function G that
only shares ZT0 state with its caller, F will have to save ZA before
the call to G, and restore it afterwards (rather than setting up a
lazy-sve).
This is not yet implemented in LLVM and does not result in a
compile-time error either. So instead of silently generating incorrect
code, it's better to emit an error saying this is not yet implemented.1 parent 0a9c9da commit 9d2fe1c
File tree
3 files changed
+40
-29
lines changed- clang
- include/clang/Basic
- lib/Sema
- test/Sema
3 files changed
+40
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3711 | 3711 | | |
3712 | 3712 | | |
3713 | 3713 | | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
3714 | 3720 | | |
3715 | 3721 | | |
3716 | 3722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7513 | 7513 | | |
7514 | 7514 | | |
7515 | 7515 | | |
7516 | | - | |
7517 | | - | |
7518 | | - | |
| 7516 | + | |
7519 | 7517 | | |
7520 | | - | |
| 7518 | + | |
| 7519 | + | |
| 7520 | + | |
| 7521 | + | |
7521 | 7522 | | |
| 7523 | + | |
7522 | 7524 | | |
7523 | 7525 | | |
7524 | 7526 | | |
7525 | 7527 | | |
7526 | | - | |
7527 | | - | |
7528 | | - | |
7529 | | - | |
7530 | | - | |
7531 | | - | |
7532 | | - | |
7533 | | - | |
7534 | | - | |
7535 | | - | |
7536 | | - | |
7537 | | - | |
7538 | | - | |
7539 | | - | |
7540 | | - | |
7541 | | - | |
7542 | | - | |
7543 | | - | |
7544 | | - | |
7545 | 7528 | | |
7546 | 7529 | | |
7547 | | - | |
7548 | | - | |
7549 | | - | |
| 7530 | + | |
| 7531 | + | |
| 7532 | + | |
| 7533 | + | |
| 7534 | + | |
| 7535 | + | |
7550 | 7536 | | |
7551 | 7537 | | |
7552 | 7538 | | |
| 7539 | + | |
7553 | 7540 | | |
7554 | 7541 | | |
7555 | | - | |
| 7542 | + | |
| 7543 | + | |
| 7544 | + | |
| 7545 | + | |
7556 | 7546 | | |
| 7547 | + | |
| 7548 | + | |
| 7549 | + | |
| 7550 | + | |
| 7551 | + | |
| 7552 | + | |
7557 | 7553 | | |
7558 | 7554 | | |
7559 | 7555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
0 commit comments