[llvm] [OpenMP][LLVM] Add pass to bridge declare simd to loop vectorization (PR #190384)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 12:21:49 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 133046 tests passed
* 3062 tests skipped
* 4 tests failed

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

### LLVM
<details>
<summary>LLVM.Other/new-pm-defaults.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 10
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager      -passes='default<O1>' -S C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-defaults.ll 2>&1      | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-defaults.ll --check-prefixes=CHECK-O,CHECK-DEFAULT,CHECK-O1,CHECK-NOEXT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager '-passes=default<O1>' -S 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-defaults.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-defaults.ll' --check-prefixes=CHECK-O,CHECK-DEFAULT,CHECK-O1,CHECK-NOEXT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-defaults.ll:245:23: error: CHECK-DEFAULT-NEXT: is not on the line after the previous match
# | ; CHECK-DEFAULT-NEXT: Running pass: DropUnnecessaryAssumesPass
# |                       ^
# | <stdin>:103:1: note: 'next' match was here
# | Running pass: DropUnnecessaryAssumesPass on foo (7 instructions)
# | ^
# | <stdin>:101:37: note: previous match ended here
# | Running pass: RecomputeGlobalsAAPass on [module]
# |                                     ^
# | <stdin>:102:1: note: non-matching line after previous match is here
# | Running pass: InjectOpenMPVFABIMappings on [module]
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-defaults.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |          98: Running pass: GlobalDCEPass on [module] 
# |          99: Running pass: EliminateAvailableExternallyPass on [module] 
# |         100: Running pass: ReversePostOrderFunctionAttrsPass on [module] 
# |         101: Running pass: RecomputeGlobalsAAPass on [module] 
# |         102: Running pass: InjectOpenMPVFABIMappings on [module] 
# |         103: Running pass: DropUnnecessaryAssumesPass on foo (7 instructions) 
# | next:245     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          error: match on wrong line
# |         104: Running pass: Float2IntPass on foo (7 instructions) 
# |         105: Running pass: LowerConstantIntrinsicsPass on foo (7 instructions) 
# |         106: Running pass: LoopSimplifyPass on foo (7 instructions) 
# |         107: Running pass: LCSSAPass on foo (7 instructions) 
# |         108: Running pass: LoopRotatePass on loop %loop in function foo 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Other/new-pm-thinlto-postlink-defaults.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager      -passes='thinlto<O1>' -S C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-defaults.ll 2>&1      | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-defaults.ll --check-prefixes=CHECK-O,CHECK-O1,CHECK-POSTLINK-O,CHECK-NOEXT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager '-passes=thinlto<O1>' -S 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-defaults.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-defaults.ll' --check-prefixes=CHECK-O,CHECK-O1,CHECK-POSTLINK-O,CHECK-NOEXT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-defaults.ll:168:26: error: CHECK-POSTLINK-O-NEXT: is not on the line after the previous match
# | ; CHECK-POSTLINK-O-NEXT: Running pass: DropUnnecessaryAssumesPass
# |                          ^
# | <stdin>:97:1: note: 'next' match was here
# | Running pass: DropUnnecessaryAssumesPass on foo (7 instructions)
# | ^
# | <stdin>:95:37: note: previous match ended here
# | Running pass: RecomputeGlobalsAAPass on [module]
# |                                     ^
# | <stdin>:96:1: note: non-matching line after previous match is here
# | Running pass: InjectOpenMPVFABIMappings on [module]
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-defaults.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |          92: Running pass: GlobalDCEPass on [module] 
# |          93: Running pass: EliminateAvailableExternallyPass on [module] 
# |          94: Running pass: ReversePostOrderFunctionAttrsPass on [module] 
# |          95: Running pass: RecomputeGlobalsAAPass on [module] 
# |          96: Running pass: InjectOpenMPVFABIMappings on [module] 
# |          97: Running pass: DropUnnecessaryAssumesPass on foo (7 instructions) 
# | next:168     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          error: match on wrong line
# |          98: Running pass: Float2IntPass on foo (7 instructions) 
# |          99: Running pass: LowerConstantIntrinsicsPass on foo (7 instructions) 
# |         100: Running pass: LoopSimplifyPass on foo (7 instructions) 
# |         101: Running pass: LCSSAPass on foo (7 instructions) 
# |         102: Running pass: LoopRotatePass on loop %loop in function foo 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Other/new-pm-thinlto-postlink-pgo-defaults.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager      -passes='thinlto<O1>' -S C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-pgo-defaults.ll 2>&1      | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-pgo-defaults.ll --check-prefixes=CHECK-O,CHECK-O1,CHECK-NOEXT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager '-passes=thinlto<O1>' -S 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-pgo-defaults.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-pgo-defaults.ll' --check-prefixes=CHECK-O,CHECK-O1,CHECK-NOEXT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-pgo-defaults.ll:151:17: error: CHECK-O-NEXT: is not on the line after the previous match
# | ; CHECK-O-NEXT: Running pass: DropUnnecessaryAssumesPass
# |                 ^
# | <stdin>:99:1: note: 'next' match was here
# | Running pass: DropUnnecessaryAssumesPass on foo (7 instructions)
# | ^
# | <stdin>:97:37: note: previous match ended here
# | Running pass: RecomputeGlobalsAAPass on [module]
# |                                     ^
# | <stdin>:98:1: note: non-matching line after previous match is here
# | Running pass: InjectOpenMPVFABIMappings on [module]
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-pgo-defaults.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |          94: Running pass: GlobalDCEPass on [module] 
# |          95: Running pass: EliminateAvailableExternallyPass on [module] 
# |          96: Running pass: ReversePostOrderFunctionAttrsPass on [module] 
# |          97: Running pass: RecomputeGlobalsAAPass on [module] 
# |          98: Running pass: InjectOpenMPVFABIMappings on [module] 
# |          99: Running pass: DropUnnecessaryAssumesPass on foo (7 instructions) 
# | next:151     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          error: match on wrong line
# |         100: Running pass: Float2IntPass on foo (7 instructions) 
# |         101: Running pass: LowerConstantIntrinsicsPass on foo (7 instructions) 
# |         102: Running pass: LoopSimplifyPass on foo (7 instructions) 
# |         103: Running pass: LCSSAPass on foo (7 instructions) 
# |         104: Running pass: LoopRotatePass on loop %loop in function foo 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Other/new-pm-thinlto-postlink-samplepgo-defaults.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager      -pgo-kind=pgo-sample-use-pipeline -profile-file='C:\_work\llvm-project\llvm-project\llvm\test\Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof'      -passes='thinlto<O1>' -S C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-samplepgo-defaults.ll 2>&1      | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-samplepgo-defaults.ll --check-prefixes=CHECK-O,CHECK-O1,CHECK-NOEXT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -disable-verify -verify-analysis-invalidation=0 -eagerly-invalidate-analyses=0 -debug-pass-manager -pgo-kind=pgo-sample-use-pipeline '-profile-file=C:\_work\llvm-project\llvm-project\llvm\test\Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof' '-passes=thinlto<O1>' -S 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-samplepgo-defaults.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-samplepgo-defaults.ll' --check-prefixes=CHECK-O,CHECK-O1,CHECK-NOEXT
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-samplepgo-defaults.ll:160:17: error: CHECK-O-NEXT: is not on the line after the previous match
# | ; CHECK-O-NEXT: Running pass: DropUnnecessaryAssumesPass
# |                 ^
# | <stdin>:102:1: note: 'next' match was here
# | Running pass: DropUnnecessaryAssumesPass on foo (7 instructions)
# | ^
# | <stdin>:100:37: note: previous match ended here
# | Running pass: RecomputeGlobalsAAPass on [module]
# |                                     ^
# | <stdin>:101:1: note: non-matching line after previous match is here
# | Running pass: InjectOpenMPVFABIMappings on [module]
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Other\new-pm-thinlto-postlink-samplepgo-defaults.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |          97: Running pass: GlobalDCEPass on [module] 
# |          98: Running pass: EliminateAvailableExternallyPass on [module] 
# |          99: Running pass: ReversePostOrderFunctionAttrsPass on [module] 
# |         100: Running pass: RecomputeGlobalsAAPass on [module] 
# |         101: Running pass: InjectOpenMPVFABIMappings on [module] 
# |         102: Running pass: DropUnnecessaryAssumesPass on foo (7 instructions) 
# | next:160     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          error: match on wrong line
# |         103: Running pass: Float2IntPass on foo (7 instructions) 
# |         104: Running pass: LowerConstantIntrinsicsPass on foo (7 instructions) 
# |         105: Running pass: LoopSimplifyPass on foo (7 instructions) 
# |         106: Running pass: LCSSAPass on foo (7 instructions) 
# |         107: Running pass: LoopRotatePass on loop %loop in function foo 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/190384


More information about the llvm-commits mailing list