[llvm] [SROA] Split fixed-vector loads into per-lane scalar loads when a smaller store overlaps (PR #199291)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 22 15:36:01 PDT 2026


github-actions[bot] wrote:

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

* 174609 tests passed
* 3382 tests skipped
* 1 test failed

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

### Clang
<details>
<summary>Clang.CodeGen/AArch64/neon-scalar-x-indexed-elem.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple arm64-none-linux-gnu -target-feature +neon -target-cpu cyclone  -disable-O0-optnone -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon-scalar-x-indexed-elem.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon-scalar-x-indexed-elem.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple arm64-none-linux-gnu -target-feature +neon -target-cpu cyclone -disable-O0-optnone -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon-scalar-x-indexed-elem.c
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa
# 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/clang/test/CodeGen/AArch64/neon-scalar-x-indexed-elem.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon-scalar-x-indexed-elem.c:556:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: [[TMP1:%.*]] = bitcast i64 4606655882138939123 to <1 x double>
# |                ^
# | <stdin>:452:54: note: scanning from here
# |  %0 = bitcast i64 4599917171378402754 to <1 x double>
# |                                                      ^
# | <stdin>:453:2: note: possible intended match here
# |  %1 = bitcast i64 4606655882138939123 to double
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/neon-scalar-x-indexed-elem.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           447: } 
# |           448:  
# |           449: ; Function Attrs: noinline nounwind 
# |           450: define dso_local <1 x double> @test_vmulx_lane_f64_0() #0 { 
# |           451: entry: 
# |           452:  %0 = bitcast i64 4599917171378402754 to <1 x double> 
# | next:556'0                                                          X error: no match found
# |           453:  %1 = bitcast i64 4606655882138939123 to double 
# | next:556'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:556'1      ?                                               possible intended match
# |           454:  %vget_lane = extractelement <1 x double> %0, i32 0 
# | next:556'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           455:  %vmulxd_f64.i = call double @llvm.aarch64.neon.fmulx.f64(double %vget_lane, double %1) 
# | next:556'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           456:  %vset_lane = insertelement <1 x double> %0, double %vmulxd_f64.i, i32 0 
# | next:556'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           457:  ret <1 x double> %vset_lane 
# | next:556'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           458: } 
# | next:556'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/199291


More information about the llvm-commits mailing list