[llvm] [ExpandMemCmp][AArch64][PowerPC][RISCV][X86] Use llvm.ucmp instead of (sub (zext (icmp ugt)), (zext (icmp ult))). (PR #121530)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 09:30:06 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/10877
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/memcmp-optsize.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: sed 's/iXLen/i32/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32
+ sed s/iXLen/i32/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -O2
RUN: at line 4: sed 's/iXLen/i64/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -O2
+ sed s/iXLen/i64/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64
RUN: at line 6: sed 's/iXLen/i32/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+zbb -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32-ZBB
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+zbb -O2
+ sed s/iXLen/i32/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32-ZBB
RUN: at line 8: sed 's/iXLen/i64/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+zbb -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64-ZBB
+ sed s/iXLen/i64/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64-ZBB
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+zbb -O2
RUN: at line 10: sed 's/iXLen/i32/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+zbkb -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32-ZBKB
+ sed s/iXLen/i32/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+zbkb -O2
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32-ZBKB
RUN: at line 12: sed 's/iXLen/i64/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+zbkb -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64-ZBKB
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64-ZBKB
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+zbkb -O2
+ sed s/iXLen/i64/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
RUN: at line 14: sed 's/iXLen/i32/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+v -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32-V
+ sed s/iXLen/i32/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-ALIGNED,CHECK-ALIGNED-RV32-V
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+v -O2
RUN: at line 16: sed 's/iXLen/i64/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+v -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64-V
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-ALIGNED,CHECK-ALIGNED-RV64-V
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+v -O2
+ sed s/iXLen/i64/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
RUN: at line 18: sed 's/iXLen/i32/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+unaligned-scalar-mem -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-UNALIGNED,CHECK-UNALIGNED-RV32
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-UNALIGNED,CHECK-UNALIGNED-RV32
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+unaligned-scalar-mem -O2
+ sed s/iXLen/i32/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
RUN: at line 20: sed 's/iXLen/i64/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+unaligned-scalar-mem -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-UNALIGNED,CHECK-UNALIGNED-RV64
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV64,CHECK-UNALIGNED,CHECK-UNALIGNED-RV64
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+unaligned-scalar-mem -O2
+ sed s/iXLen/i64/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
RUN: at line 22: sed 's/iXLen/i32/g' /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll | /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+zbb,+unaligned-scalar-mem -O2 | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-UNALIGNED,CHECK-UNALIGNED-RV32-ZBB
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+zbb,+unaligned-scalar-mem -O2
+ sed s/iXLen/i32/g /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll --check-prefixes=CHECK,CHECK-RV32,CHECK-UNALIGNED,CHECK-UNALIGNED-RV32-ZBB
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/memcmp-optsize.ll:2462:34: error: CHECK-UNALIGNED-RV32-ZBB-NEXT: expected string not found in input
...
```
</details>
https://github.com/llvm/llvm-project/pull/121530
More information about the llvm-commits
mailing list