Issue 162436
Summary [AArch64] Crash trying to scalarize llvm.vector.partial.reduce.add.v2i128.v4i128
Labels backend:AArch64, crash, crash-on-valid
Assignees
Reporter fhahn
    ```
target triple = "arm64-apple-macosx"

define <2 x i128> @crash(<2 x i128> %a, <4 x i128> %b) {
  %r = call <2 x i128> @llvm.vector.partial.reduce.add.v2i128.v4i128(<2 x i128> %a, <4 x i128> %b)
 ret <2 x i128> %r
}
```

Running through `llc` results in 
```
ScalarizeVectorResult #0: t79: v1i128 = partial_reduce_umla t72, t75, t77

LLVM ERROR: Do not know how to scalarize the result of this operator!
```

https://llvm.godbolt.org/z/71nWK3qeT
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to