[llvm] [GlobalISel] Migrate overlapping_and to MIR pattern match (PR #222478)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 18:49:38 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 152897 tests passed
* 3310 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/neon-shuffle-vector-tbl.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/AArch64/neon-shuffle-vector-tbl.ll -mtriple=arm64-eabi -aarch64-neon-syntax=apple | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/neon-shuffle-vector-tbl.ll --check-prefixes=CHECK,CHECK-SD
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm64-eabi -aarch64-neon-syntax=apple
# 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/AArch64/neon-shuffle-vector-tbl.ll --check-prefixes=CHECK,CHECK-SD
# 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/AArch64/neon-shuffle-vector-tbl.ll -mtriple=arm64-eabi -aarch64-neon-syntax=apple -global-isel | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/neon-shuffle-vector-tbl.ll --check-prefixes=CHECK,CHECK-GI
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm64-eabi -aarch64-neon-syntax=apple -global-isel
# 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/AArch64/neon-shuffle-vector-tbl.ll --check-prefixes=CHECK,CHECK-GI
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/neon-shuffle-vector-tbl.ll:562:18: error: CHECK-GI-NEXT: expected string not found in input
# | ; CHECK-GI-NEXT: and x9, x9, #0x7
# |                  ^
# | <stdin>:389:18: note: scanning from here
# |  and w9, w9, #0x7
# |                  ^
# | <stdin>:390:2: note: possible intended match here
# |  and x9, x9, #0xff
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/neon-shuffle-vector-tbl.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           384:  // kill: def $d1 killed $d1 def $q1 
# |           385:  umov.b w9, v1[0] 
# |           386:  umov.b w10, v1[1] 
# |           387:  mov x8, sp 
# |           388:  str d0, [sp] 
# |           389:  and w9, w9, #0x7 
# | next:562'0                     {   search range start (exclusive)
# | next:562'1                         error: no match found in search range
# |           390:  and x9, x9, #0xff 
# | next:562'2      ?                   possible intended match
# |           391:  lsl x11, x9, #1 
# |           392:  sub x9, x11, x9 
# |           393:  ldr b2, [x8, x9] 
# |           394:  and x8, x10, #0x7 
# |           395:  umov.b w9, v1[2] 
# |             .
# |             .
# |             .
# |           455:  .cfi_endproc 
# |           456:  // -- End function 
# |           457:  .globl no_shuffle_with_two_mask_sources // -- Begin function no_shuffle_with_two_mask_sources 
# |           458:  .p2align 2 
# |           459:  .type no_shuffle_with_two_mask_sources, at function 
# |           460: no_shuffle_with_two_mask_sources: // @no_shuffle_with_two_mask_sources 
# | next:562'3                                      }                                       search range end (exclusive)
# |           461:  .cfi_startproc 
# |           462: // %bb.0: 
# |           463:  sub sp, sp, #272 
# |           464:  str x29, [sp, #256] // 8-byte Spill 
# |           465:  .cfi_def_cfa_offset 272 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# 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/222478


More information about the llvm-commits mailing list