[llvm] [VPlan] Also expand SCEVUDivExpr in expandSCEVExpr. (PR #203093)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 13:48:20 PDT 2026


github-actions[bot] wrote:

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

* 175375 tests passed
* 3464 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Transforms/PhaseOrdering/AArch64/std-find.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -O3 -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -O3 -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll
# 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/Transforms/PhaseOrdering/AArch64/std-find.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll:256:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP0:%.*]] = add i64 [[LAST_I64]], -2
# |               ^
# | <stdin>:205:55: note: scanning from here
# |  %scevgep = getelementptr i8, ptr %first, i64 %ptr.sub
# |                                                       ^
# | <stdin>:205:55: note: with "LAST_I64" equal to "%last.i64"
# |  %scevgep = getelementptr i8, ptr %first, i64 %ptr.sub
# |                                                       ^
# | <stdin>:207:2: note: possible intended match here
# |  %1 = add i64 %0, -2
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           200:  
# |           201: loop.header.i.preheader: ; preds = %entry 
# |           202:  %last.i64 = ptrtoint ptr %last to i64 
# |           203:  %first1 = ptrtoint ptr %first to i64 
# |           204:  %ptr.sub = sub i64 %last.i64, %first1 
# |           205:  %scevgep = getelementptr i8, ptr %first, i64 %ptr.sub 
# | next:256'0                                                           X error: no match found
# | next:256'1                                                             with "LAST_I64" equal to "%last.i64"
# |           206:  %0 = sub i64 %last.i64, %first1 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           207:  %1 = add i64 %0, -2 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:256'2      ?                    possible intended match
# |           208:  %2 = lshr exact i64 %1, 1 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           209:  %3 = add nuw i64 %2, 1 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           210:  %min.iters.check = icmp ult i64 %1, 14 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           211:  br i1 %min.iters.check, label %loop.header.i.preheader2, label %vector.ph 
# | next:256'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           212:  
# | next:256'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/203093


More information about the llvm-commits mailing list