diff options
Diffstat (limited to 'test/CodeGen/SystemZ/vec-args-error-05.ll')
-rw-r--r-- | test/CodeGen/SystemZ/vec-args-error-05.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/vec-args-error-05.ll b/test/CodeGen/SystemZ/vec-args-error-05.ll new file mode 100644 index 000000000000..067deb1c88b8 --- /dev/null +++ b/test/CodeGen/SystemZ/vec-args-error-05.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 fp128>) { + ret void +} + +; CHECK: LLVM ERROR: Unsupported vector argument or return type |