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