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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to