[clang] [clang][ARM] Include arm_acle.h in intrin.h on supported platforms (PR #144172)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 15 09:03:59 PDT 2025


dyung wrote:

Hi @sarnex, not sure if you were notified, but the test you added is failing on MacOS:

https://lab.llvm.org/buildbot/#/builders/190/builds/27443
```
******************** TEST 'Clang :: Headers/arm-acle-no-direct-include.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=cl --target=aarch64-windows-msvc -Xclang -verify /E -U__STDC_HOSTED__ -Wno-builtin-macro-redefined /Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c 2>&1 | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c # RUN: at line 1
+ /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=cl --target=aarch64-windows-msvc -Xclang -verify /E -U__STDC_HOSTED__ -Wno-builtin-macro-redefined /Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c
+ /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c
/Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c:5:11: error: CHECK: expected string not found in input
// CHECK: void __yield(void);
          ^
<stdin>:1:1: note: scanning from here
clang: warning: '/Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c' treated as the '/U' option [-Wslash-u-filename]
^
<stdin>:3:10: note: possible intended match here
clang: error: no input files
         ^
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
           1: clang: warning: '/Users/buildbot/buildbot-root/llvm-project/clang/test/Headers/arm-acle-no-direct-include.c' treated as the '/U' option [-Wslash-u-filename] 
check:5'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: clang: note: use '--' to treat subsequent arguments as filenames 
check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: clang: error: no input files 
check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:5'1              ?                    possible intended match
>>>>>>
--
********************
```
Should be a simple fix I think, but can you take a look?

https://github.com/llvm/llvm-project/pull/144172


More information about the cfe-commits mailing list