[llvm] [GlobalISel] Add `or_and_xor_to_or` pattern from SelectionDAG (PR #201108)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 21:02:10 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-x86-64-b1` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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/AMDGPU/bitop3-shared-operand.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/b/ml-opt-dev-x86-64-b1/build/bin/llc -global-isel=0 -mtriple=amdgcn-- -mcpu=gfx950 < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck -check-prefixes=GCN,SDAG /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/llc -global-isel=0 -mtriple=amdgcn-- -mcpu=gfx950
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck -check-prefixes=GCN,SDAG /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll
# RUN: at line 3
/b/ml-opt-dev-x86-64-b1/build/bin/llc -global-isel -new-reg-bank-select -mtriple=amdgcn-- -mcpu=gfx950 < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck -check-prefixes=GCN,GISEL /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/llc -global-isel -new-reg-bank-select -mtriple=amdgcn-- -mcpu=gfx950
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck -check-prefixes=GCN,GISEL /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll
# .---command stderr------------
# | /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll:518:15: error: GISEL-NEXT: expected string not found in input
# | ; GISEL-NEXT: v_bitop3_b32 v0, v1, v2, v0 bitop3:0xf8
# |               ^
# | <stdin>:898:26: note: scanning from here
# |  v_and_b32_e32 v3, v2, v0
# |                          ^
# | <stdin>:899:2: note: possible intended match here
# |  v_bitop3_b32 v0, v1, v2, v0 bitop3:0x78
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AMDGPU/bitop3-shared-operand.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           893:  .globl bitop3_bxort_or_t_and_not_t ; -- Begin function bitop3_bxort_or_t_and_not_t 
# |           894:  .p2align 8 
# |           895:  .type bitop3_bxort_or_t_and_not_t, at function 
# |           896: bitop3_bxort_or_t_and_not_t: ; @bitop3_bxort_or_t_and_not_t 
# |           897: ; %bb.0: 
# |           898:  v_and_b32_e32 v3, v2, v0 
# | next:518'0                              X error: no match found
# |           899:  v_bitop3_b32 v0, v1, v2, v0 bitop3:0x78 
# | next:518'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:518'1      ?                                        possible intended match
# |           900:  v_bfi_b32 v0, v3, 0, v0 
# | next:518'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           901:  ; return to shader part epilog 
# | next:518'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           902: .Lfunc_end13: 
# | next:518'0     ~~~~~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list