Commit f127704
Automerge: [clang][ARM] Include arm_acle.h in intrin.h on supported platforms (#144172)
Right now when using ARM intrinsics without including `arm_acle.h`, we
throw a warning saying to include it or provide a declaration for the
function.
MSVC doesn't have any ARM-intrinsic specific header, so include Clang's
ARM intrinsic header (`arm_acle.h`) in `intrin.h` so we don't get a
warning that tells the user to include a header that doesn't exist.
Ideally we could change the header based on the platform, but we don't
have the infra for that at the moment.
See llvm/llvm-project#140910 for more info.
Signed-off-by: Sarnie, Nick <[email protected]>File tree
2 files changed
+12
-0
lines changed- clang
- lib/Headers
- test/Headers
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments