summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SystemZ/vec-args-error-04.ll
blob: f0b248c934867784c9587776443bbda32ddc2a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; Verify that we detect unsupported single-element vector types.

; RUN: not --crash llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 2>&1 | FileCheck %s

declare <1 x i128> @bar()

define void @foo() {
  %res = call <1 x i128> @bar ()
  ret void
}

; CHECK: LLVM ERROR: Unsupported vector argument or return type