[clang] [clang][test] Fix builtin-rotate.c test __int128 test failure on ARM32 (PR #177732)
NagaChaitanya Vellanki via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 23 21:12:18 PST 2026
chaitanyav wrote:
Local test results:
```
=== x86_64 ===
$ build/bin/clang -cc1 -internal-isystem build/lib/clang/23/include -nostdsysteminc -ffreestanding -triple x86_64-unknown-linux-gnu clang/test/CodeGen/builtin-rotate.c -emit-llvm -o /tmp/t.ll
$ build/bin/FileCheck clang/test/CodeGen/builtin-rotate.c < /tmp/t.ll
CHECK: PASS
$ build/bin/FileCheck clang/test/CodeGen/builtin-rotate.c --check-prefix=INT128 < /tmp/t.ll
INT128: PASS
=== aarch64 ===
$ build/bin/clang -cc1 -internal-isystem build/lib/clang/23/include -nostdsysteminc -ffreestanding -triple aarch64-unknown-linux-gnu clang/test/CodeGen/builtin-rotate.c -emit-llvm -o /tmp/t.ll
$ build/bin/FileCheck clang/test/CodeGen/builtin-rotate.c < /tmp/t.ll
CHECK: PASS
$ build/bin/FileCheck clang/test/CodeGen/builtin-rotate.c --check-prefix=INT128 < /tmp/t.ll
INT128: PASS
=== armv7 (ARM32) ===
$ build/bin/clang -cc1 -internal-isystem build/lib/clang/23/include -nostdsysteminc -ffreestanding -triple armv7-unknown-linux-gnueabihf clang/test/CodeGen/builtin-rotate.c -emit-llvm -o /tmp/t.ll
$ build/bin/FileCheck clang/test/CodeGen/builtin-rotate.c < /tmp/t.ll
CHECK: PASS
INT128: SKIPPED (not supported on ARM32)
=== Verify INT128 fails on ARM32 ===
$ grep -c test_int128_rotate /tmp/t.ll
0
Function not found (as expected)
$ build/bin/FileCheck clang/test/CodeGen/builtin-rotate.c --check-prefix=INT128 < /tmp/t.ll
clang/test/CodeGen/builtin-rotate.c:307:18: error: INT128-LABEL: expected string not found in input
// INT128-LABEL: test_int128_rotate
```
https://github.com/llvm/llvm-project/pull/177732
More information about the cfe-commits
mailing list