[llvm] [WIP][X86] Add addlike PatFrags for AVX-512 disjoint OR folding (PR #166015)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 28 05:55:04 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 167482 tests passed
* 2974 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/X86/shift-i512.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -mtriple=x86_64-- -mcpu=x86-64 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,SSE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mcpu=x86-64
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,SSE
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -mtriple=x86_64-- -mcpu=x86-64-v2 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,SSE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mcpu=x86-64-v2
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,SSE
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -mtriple=x86_64-- -mcpu=x86-64-v3 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,AVX2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mcpu=x86-64-v3
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,AVX2
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -mtriple=x86_64-- -mcpu=knl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,AVX512,AVX512F
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mcpu=knl
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,AVX512,AVX512F
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -mtriple=x86_64-- -mcpu=x86-64-v4 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,AVX512,AVX512VL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mcpu=x86-64-v4
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll -check-prefixes=CHECK,AVX512,AVX512VL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll:1062:18: error: AVX512VL-NEXT: expected string not found in input
# | ; AVX512VL-NEXT: valignq {{.*#+}} zmm1 = zmm0[3,4,5,6,7,0,1,2]
# | ^
# | <stdin>:196:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:202:2: note: possible intended match here
# | vxorps %xmm2, %xmm2, %xmm2
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll:1341:18: error: AVX512VL-NEXT: expected string not found in input
# | ; AVX512VL-NEXT: vextracti128 $1, %ymm0, %xmm1
# | ^
# | <stdin>:256:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:262:2: note: possible intended match here
# | vxorps %xmm2, %xmm2, %xmm2
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll:1638:18: error: AVX512VL-NEXT: expected string not found in input
# | ; AVX512VL-NEXT: vextracti128 $1, %ymm0, %xmm1
# | ^
# | <stdin>:309:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:314:2: note: possible intended match here
# | vmovaps 32(%rsi), %xmm1
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/shift-i512.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 191: # -- End function
# | 192: .globl shl_i512_load # -- Begin function shl_i512_load
# | 193: .p2align 4
# | 194: .type shl_i512_load, at function
# | 195: shl_i512_load: # @shl_i512_load
# | 196: # %bb.0:
# | next:1062'0 X error: no match found
# | 197: pushq %r15
# | next:1062'0 ~~~~~~~~~~~~
# | 198: pushq %r14
# | next:1062'0 ~~~~~~~~~~~~
# | 199: pushq %rbx
# | next:1062'0 ~~~~~~~~~~~~
# | 200: vmovups (%rsi), %ymm0
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 201: vmovups 32(%rsi), %ymm1
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 202: vxorps %xmm2, %xmm2, %xmm2
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1062'1 ? possible intended match
# | 203: vmovups %ymm2, -96(%rsp)
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 204: vmovups %ymm2, -128(%rsp)
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 205: vmovups %ymm1, -32(%rsp)
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 206: vmovups %ymm0, -64(%rsp)
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 207: movl %edx, %ecx
# | next:1062'0 ~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 251: # -- End function
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~
# | 252: .globl lshr_i512_load # -- Begin function lshr_i512_load
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 253: .p2align 4
# | next:1062'0 ~~~~~~~~~~~~
# | 254: .type lshr_i512_load, at function
# | next:1062'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 255: lshr_i512_load: # @lshr_i512_load
# | next:1062'0 ~~~~~~~~~~~~~~~
# | 256: # %bb.0:
# | next:1341'0 X error: no match found
# | 257: pushq %r14
# | next:1341'0 ~~~~~~~~~~~~
# | 258: pushq %rbx
# | next:1341'0 ~~~~~~~~~~~~
# | 259: pushq %rax
# | next:1341'0 ~~~~~~~~~~~~
# | 260: vmovups (%rsi), %ymm0
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 261: vmovups 32(%rsi), %ymm1
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 262: vxorps %xmm2, %xmm2, %xmm2
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1341'1 ? possible intended match
# | 263: vmovups %ymm2, -32(%rsp)
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 264: vmovups %ymm2, -64(%rsp)
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 265: vmovups %ymm1, -96(%rsp)
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 266: vmovups %ymm0, -128(%rsp)
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 267: movl %edx, %ecx
# | next:1341'0 ~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 304: # -- End function
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~
# | 305: .globl ashr_i512_load # -- Begin function ashr_i512_load
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 306: .p2align 4
# | next:1341'0 ~~~~~~~~~~~~
# | 307: .type ashr_i512_load, at function
# | next:1341'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 308: ashr_i512_load: # @ashr_i512_load
# | next:1341'0 ~~~~~~~~~~~~~~~
# | 309: # %bb.0:
# | next:1638'0 X error: no match found
# | 310: pushq %r14
# | next:1638'0 ~~~~~~~~~~~~
# | 311: pushq %rbx
# | next:1638'0 ~~~~~~~~~~~~
# | 312: pushq %rax
# | next:1638'0 ~~~~~~~~~~~~
# | 313: vmovups (%rsi), %ymm0
# | next:1638'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 314: vmovaps 32(%rsi), %xmm1
# | next:1638'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1638'1 ? possible intended match
# | 315: movq 48(%rsi), %rax
# | next:1638'0 ~~~~~~~~~~~~~~~~~~~~~
# | 316: movq 56(%rsi), %rcx
# | next:1638'0 ~~~~~~~~~~~~~~~~~~~~~
# | 317: movq %rcx, -72(%rsp)
# | next:1638'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 318: movq %rax, -80(%rsp)
# | next:1638'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 319: vmovaps %xmm1, -96(%rsp)
# | next:1638'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.TableGen/GlobalISelEmitter/CustomPredicate.td</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td -gen-global-isel -optimize-match-table=false -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td -gen-global-isel -optimize-match-table=false -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td:7:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: GICXXPred_MI_Predicate_and_or_pat = GICXXPred_Invalid + 1,
# | ^
# | <stdin>:85:7: note: scanning from here
# | enum {
# | ^
# | <stdin>:86:2: note: possible intended match here
# | GICXXPred_MI_Predicate_addlike = GICXXPred_Invalid + 1,
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/CustomPredicate.td
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 80: MyTargetInstructionSelector::ComplexPredicateFns[] = {
# | 81: nullptr, // GICP_Invalid
# | 82: };
# | 83:
# | 84: // PatFrag predicates.
# | 85: enum {
# | next:7'0 X error: no match found
# | 86: GICXXPred_MI_Predicate_addlike = GICXXPred_Invalid + 1,
# | next:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:7'1 ? possible intended match
# | 87: GICXXPred_MI_Predicate_and_or_pat,
# | next:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 88: GICXXPred_MI_Predicate_mul_pat,
# | next:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 89: GICXXPred_MI_Predicate_or_disjoint,
# | next:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 90: GICXXPred_MI_Predicate_or_oneuse,
# | next:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 91: GICXXPred_MI_Predicate_patfrags_test_pat,
# | next:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.TableGen/GlobalISelEmitter/GlobalISelEmitter.td</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=false /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=false /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=true /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.optimized.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=true /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.optimized.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.default.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.default.cpp
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td --check-prefixes=CHECK,R19C,R19N -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td --check-prefixes=CHECK,R19C,R19N -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td:158:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: GICXXPred_MI_Predicate_frag = GICXXPred_Invalid + 1,
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp:104:7: note: scanning from here
# | enum {
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp:105:2: note: possible intended match here
# | GICXXPred_MI_Predicate_addlike = GICXXPred_Invalid + 1,
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 99: &MyTargetInstructionSelector::selectComplexPattern, // gi_complex
# | 100: &MyTargetInstructionSelector::selectComplexPatternRR, // gi_complex_rr
# | 101: };
# | 102:
# | 103: // PatFrag predicates.
# | 104: enum {
# | next:158'0 X error: no match found
# | 105: GICXXPred_MI_Predicate_addlike = GICXXPred_Invalid + 1,
# | next:158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:158'1 ? possible intended match
# | 106: GICXXPred_MI_Predicate_frag,
# | next:158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 107: GICXXPred_MI_Predicate_or_disjoint,
# | next:158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 108: };
# | next:158'0 ~~~
# | 109: bool MyTargetInstructionSelector::testMIPredicate_MI(unsigned PredicateID, const MachineInstr & MI, const MatcherState &State) const {
# | next:158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 110: const MachineFunction &MF = *MI.getParent()->getParent();
# | next:158'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/166015
More information about the llvm-commits
mailing list