Commit 08b5797
[clang][LoongArch] Ensure
Currently, `__attribute__((target("lasx")))` does not automatically
enable LSX support, causing Clang to fail with `-mno-lsx`. Since
LASX depends on LSX, enabling LASX should implicitly enable LSX to
avoid clang error.
Fixes llvm#149512.
Depends on llvm#153541
(cherry picked from commit a1b6e7f)target("lasx") implies LSX support (llvm#153542)1 parent 9bf61a6 commit 08b5797
File tree
2 files changed
+3
-1
lines changed- clang
- lib/Basic/Targets
- test/CodeGen/LoongArch
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
464 | 466 | | |
465 | 467 | | |
466 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
0 commit comments