Skip to content

[AArch64] Crash trying to scalarize llvm.vector.partial.reduce.add.v2i128.v4i128Β #162436

@fhahn

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions