llvm-project/llvm/test/CodeGen/SystemZ/vec-args-error-02.ll

10 lines
269 B
LLVM

; Verify that we detect unsupported single-element vector types.
; RUN: not --crash llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 2>&1 | FileCheck %s
define <1 x i128> @foo() {
ret <1 x i128><i128 0>
}
; CHECK: LLVM ERROR: Unsupported vector argument or return type