diff options
Diffstat (limited to 'test/CodeGen/SystemZ/vec-args-error-01.ll')
-rw-r--r-- | test/CodeGen/SystemZ/vec-args-error-01.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/vec-args-error-01.ll b/test/CodeGen/SystemZ/vec-args-error-01.ll new file mode 100644 index 000000000000..e2f537949595 --- /dev/null +++ b/test/CodeGen/SystemZ/vec-args-error-01.ll @@ -0,0 +1,9 @@ +; Verify that we detect unsupported single-element vector types. + +; RUN: not llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 2>&1 | FileCheck %s + +define void @foo(<1 x i128>) { + ret void +} + +; CHECK: LLVM ERROR: Unsupported vector argument or return type |