[llvm-branch-commits] [llvm] [SelectionDAG] Legalize <1 x T> vector types for atomic load (PR #120385)
James Y Knight via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Dec 18 15:10:38 PST 2024
jyknight wrote:
Running `llc -mtriple=x86_64-linux-gnu` on
```
define <2 x i32> @atomic_vec2_i32(ptr %x) #0 {
%ret = load atomic <2 x i32>, ptr %x acquire, align 64
ret <2 x i32> %ret
}
```
crashes with:
```
WidenVectorResult #0: t3: v2i32,ch = AtomicLoad<(load acquire (s64) from %ir.x, align 64)> t0, t2
LLVM ERROR: Do not know how to widen the result of this operator!
```
https://github.com/llvm/llvm-project/pull/120385
More information about the llvm-branch-commits
mailing list