[llvm] [VPlan] Construct VPlan1 once, share across buildVPlans calls. (PR #197276)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 06:29:36 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 174592 tests passed
* 3379 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Transforms/LoopVectorize/optsize.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/optsize.ll -passes='require<profile-summary>,loop-vectorize' -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/optsize.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=require<profile-summary>,loop-vectorize' -S
# 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/LoopVectorize/optsize.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/optsize.ll:806:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP1:%.*]] = getelementptr inbounds i16, ptr [[B]], i32 [[TMP0]]
# | ^
# | <stdin>:251:67: note: scanning from here
# | %index = phi i32 [ 0, %vector.ph ], [ %index.next, %vector.body ]
# | ^
# | <stdin>:251:67: note: with "B" equal to "%B"
# | %index = phi i32 [ 0, %vector.ph ], [ %index.next, %vector.body ]
# | ^
# | <stdin>:251:67: note: with "TMP0" equal to "%index"
# | %index = phi i32 [ 0, %vector.ph ], [ %index.next, %vector.body ]
# | ^
# | <stdin>:253:2: note: possible intended match here
# | %1 = getelementptr inbounds i16, ptr %B, i32 %0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/optsize.ll:1074:12: error: undefined variable: LOOP22
# | ; CHECK: [[LOOP22]] = distinct !{[[LOOP22]], [[META16]], [[META17]]}
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/optsize.ll:1074:36: error: undefined variable: LOOP22
# | ; CHECK: [[LOOP22]] = distinct !{[[LOOP22]], [[META16]], [[META17]]}
# | ^
# | <stdin>:346:32: note: with "META16" equal to "!16"
# | !21 = distinct !{!21, !16, !17}
# | ^
# | <stdin>:346:32: note: with "META17" equal to "!17"
# | !21 = distinct !{!21, !16, !17}
# | ^
# | <stdin>:347:3: note: possible intended match here
# | !22 = distinct !{!22, !16, !17}
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LoopVectorize/optsize.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 246:
# | 247: vector.ph: ; preds = %vector.scevcheck
# | 248: br label %vector.body
# | 249:
# | 250: vector.body: ; preds = %vector.body, %vector.ph
# | 251: %index = phi i32 [ 0, %vector.ph ], [ %index.next, %vector.body ]
# | next:806'0 X error: no match found
# | next:806'1 with "B" equal to "%B"
# | next:806'2 with "TMP0" equal to "%index"
# | 252: %0 = mul nsw i32 %index, %BStride
# | next:806'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 253: %1 = getelementptr inbounds i16, ptr %B, i32 %0
# | next:806'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:806'3 ? possible intended match
# | 254: store <2 x i16> splat (i16 42), ptr %1, align 4
# | next:806'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 255: %index.next = add nuw i32 %index, 2
# | next:806'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 256: %2 = icmp eq i32 %index.next, 1024
# | next:806'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 257: br i1 %2, label %middle.block, label %vector.body, !llvm.loop !22
# | next:806'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 258:
# | next:806'0 ~
# | .
# | .
# | .
# | 341: !16 = !{!"llvm.loop.isvectorized", i32 1}
# | 342: !17 = !{!"llvm.loop.unroll.runtime.disable"}
# | 343: !18 = distinct !{!18, !16, !17}
# | 344: !19 = distinct !{!19, !16, !17}
# | 345: !20 = distinct !{!20, !16, !17}
# | 346: !21 = distinct !{!21, !16, !17}
# | check:1074'0 X error: match failed for invalid pattern
# | check:1074'1 undefined variable: LOOP22
# | check:1074'2 undefined variable: LOOP22
# | check:1074'3 with "META16" equal to "!16"
# | check:1074'4 with "META17" equal to "!17"
# | 347: !22 = distinct !{!22, !16, !17}
# | check:1074'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:1074'5 ? possible intended match
# | 348: !23 = distinct !{!23, !16}
# | check:1074'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/197276
More information about the llvm-commits
mailing list