[llvm] [SCEVExpander] Consider values below the hoisted insert point for reuse. (PR #217452)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 14:48:59 PDT 2026


github-actions[bot] wrote:

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

* 180904 tests passed
* 3701 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/Thumb2/mve-gather-increment.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve.fp -enable-arm-maskedldst /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-gather-increment.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-gather-increment.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve.fp -enable-arm-maskedldst /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-gather-increment.ll -o -
# 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/Thumb2/mve-gather-increment.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-gather-increment.ll:948:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: strd r1, r2, [sp, #56] @ 8-byte Folded Spill
# |               ^
# | <stdin>:840:12: note: scanning from here
# |  cmp r2, #1
# |            ^
# | <stdin>:841:2: note: possible intended match here
# |  str r1, [sp, #56] @ 4-byte Spill
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-gather-increment.ll:1298:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: strd r1, r2, [sp, #40] @ 8-byte Folded Spill
# |               ^
# | <stdin>:1160:12: note: scanning from here
# |  cmp r2, #1
# |            ^
# | <stdin>:1161:2: note: possible intended match here
# |  str r1, [sp, #40] @ 4-byte Spill
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-gather-increment.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            835:  sub sp, #4 
# |            836:  .vsave {d8, d9, d10, d11, d12, d13, d14, d15} 
# |            837:  vpush {d8, d9, d10, d11, d12, d13, d14, d15} 
# |            838:  .pad #240 
# |            839:  sub sp, #240 
# |            840:  cmp r2, #1 
# | next:948'0                {   search range start (exclusive)
# | next:948'1                    error: no match found in search range
# |            841:  str r1, [sp, #56] @ 4-byte Spill 
# | next:948'2       ?                                  possible intended match
# |            842:  blt.w .LBB16_5 
# |            843: @ %bb.1: @ %vector.ph.preheader 
# |            844:  adr r1, .LCPI16_0 
# |            845:  str r2, [sp, #52] @ 4-byte Spill 
# |            846:  vldrw.u32 q0, [r1] 
# |              .
# |              .
# |              .
# |           1144:  .globl gather_inc_v16i8_simple @ -- Begin function gather_inc_v16i8_simple 
# |           1145:  .p2align 4 
# |           1146:  .type gather_inc_v16i8_simple,%function 
# |           1147:  .code 16 
# |           1148:  .thumb_func 
# |           1149: gather_inc_v16i8_simple: @ @gather_inc_v16i8_simple 
# | next:948'3                              }                             search range end (exclusive)
# |           1150:  .fnstart 
# |           1151: @ %bb.0: @ %entry 
# |           1152:  .save {r4, r5, r6, r7, r8, r9, r10, r11, lr} 
# |           1153:  push.w {r4, r5, r6, r7, r8, r9, r10, r11, lr} 
# |           1154:  .pad #4 
# |           1155:  sub sp, #4 
# |           1156:  .vsave {d8, d9, d10, d11, d12, d13, d14, d15} 
# |           1157:  vpush {d8, d9, d10, d11, d12, d13, d14, d15} 
# |           1158:  .pad #48 
# |           1159:  sub sp, #48 
# |           1160:  cmp r2, #1 
# | next:1298'0               {   search range start (exclusive)
# | next:1298'1                   error: no match found in search range
# |           1161:  str r1, [sp, #40] @ 4-byte Spill 
# | next:1298'2      ?                                  possible intended match
# |           1162:  blt.w .LBB17_5 
# |           1163: @ %bb.1: @ %vector.ph.preheader 
# |           1164:  adr r6, .LCPI17_3 
# |           1165:  adr r7, .LCPI17_2 
# |           1166:  vldrw.u32 q0, [r6] 
# |              .
# |              .
# |              .
# |           1278:  .globl shl @ -- Begin function shl 
# |           1279:  .p2align 4 
# |           1280:  .type shl,%function 
# |           1281:  .code 16 
# |           1282:  .thumb_func 
# |           1283: shl: @ @shl 
# | next:1298'3         }         search range end (exclusive)
# |           1284:  .fnstart 
# |           1285: @ %bb.0: @ %entry 
# |           1286:  .save {r7, lr} 
# |           1287:  push {r7, lr} 
# |           1288:  cmp r2, #1 
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# 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/217452


More information about the llvm-commits mailing list