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

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

declare <1 x fp128> @bar()

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

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