summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/vec-args-error-07.ll
blob: 4e914009391541915296a1b317df7f35e4dfac6d (plain)
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 void @bar(<1 x fp128>)

define void @foo() {
  call void @bar (<1 x fp128> <fp128 0xL00000000000000000000000000000000>)
  ret void
}

; CHECK: LLVM ERROR: Unsupported vector argument or return type
OpenPOWER on IntegriCloud