[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 08:02:50 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/abds.ll -mtriple=riscv32 | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/abds.ll --check-prefixes=RV32I
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv32
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/abds.ll --check-prefixes=RV32I
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/abds.ll

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

Input was:
<<<<<<
           .
           .
           .
        1059:  sub a1, a4, t5 
        1060:  sub a4, a6, t6 
        1061: .LBB38_13: 
        1062:  sw a3, 0(a0) 
        1063:  sw a1, 4(a0) 
        1064:  sw a4, 8(a0) 
next:2605      !~~~~~~~~~~~  error: match on wrong line
        1065:  sw a2, 12(a0) 
        1066:  lw s0, 12(sp) # 4-byte Folded Reload 
        1067:  addi sp, sp, 16 
        1068:  ret 
        1069: .Lfunc_end38: 
        1070:  .size abd_select_i128, .Lfunc_end38-abd_select_i128 
        1071:  # -- End function 
        1072:  .section ".note.GNU-stack","", at progbits 
>>>>>>

--

...

```

</details>

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


More information about the llvm-commits mailing list