[SystemZ] Fix another assertion failure in tryBuildVectorShuffle
[oota-llvm.git] / test / CodeGen / SystemZ / vec-args-error-03.ll
1 ; Verify that we detect unsupported single-element vector types.
2
3 ; RUN: not llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 2>&1 | FileCheck %s
4
5 declare void @bar(<1 x i128>)
6
7 define void @foo() {
8   call void @bar (<1 x i128> <i128 0>)
9   ret void
10 }
11
12 ; CHECK: LLVM ERROR: Unsupported vector argument or return type