[llvm] [DAG] Enhance SDPatternMatch to match integer minimum and maximum patterns in addition to the existing ISD nodes. (PR #111774)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 06:44:48 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/6769

<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/abds.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/abds.ll -mtriple=riscv32 | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/abds.ll --check-prefixes=RV32I
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/abds.ll --check-prefixes=RV32I
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv32
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/abds.ll:2605:15: error: RV32I-NEXT: is not on the line after the previous match
; RV32I-NEXT: sw a4, 8(a0)
              ^
<stdin>:1064:2: note: 'next' match was here
 sw a4, 8(a0)
 ^
<stdin>:1061:11: note: previous match ended here
.LBB38_13:
          ^
<stdin>:1062:1: note: non-matching line after previous match is here
 sw a3, 0(a0)
^

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/abds.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
              1:  .text 
              2:  .attribute 4, 16 
              3:  .attribute 5, "rv32i2p1" 
              4:  .file "<stdin>" 
              5:  .globl abd_ext_i8 # -- Begin function abd_ext_i8 
              6:  .p2align 2 
              7:  .type abd_ext_i8, at function 
              8: abd_ext_i8: # @abd_ext_i8 
label:12'0       ^~~~~~~~~~~
label:12'1       ^~~~~~~~~~~
              9: # %bb.0: 
check:13         ^~~~~~~~
             10:  slli a1, a1, 24 
next:14           ^~~~~~~~~~~~~~~
             11:  srai a1, a1, 24 
next:15           ^~~~~~~~~~~~~~~
             12:  slli a0, a0, 24 
next:16           ^~~~~~~~~~~~~~~
             13:  srai a0, a0, 24 
next:17           ^~~~~~~~~~~~~~~
             14:  sub a0, a0, a1 
next:18           ^~~~~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list