diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-06-12 20:34:09 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-06-12 20:34:09 +0000 |
commit | 8ce8f21c3cc59f0737377c71da43bfe355aa69c5 (patch) | |
tree | 218634ffa2cb30b61cf678518541cb0f233e705e | |
parent | a13cab5b74b927f5da9bedbe76667579cc608465 (diff) | |
download | bcm5719-llvm-8ce8f21c3cc59f0737377c71da43bfe355aa69c5.tar.gz bcm5719-llvm-8ce8f21c3cc59f0737377c71da43bfe355aa69c5.zip |
[FastISel][X86] Argument lowering test case
This test case is supposed to xfail, because we do not handle structs or byval
arguments.
llvm-svn: 210816
-rw-r--r-- | llvm/test/CodeGen/X86/fast-isel-args-fail2.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-args-fail2.ll b/llvm/test/CodeGen/X86/fast-isel-args-fail2.ll new file mode 100644 index 00000000000..1b5e55c004a --- /dev/null +++ b/llvm/test/CodeGen/X86/fast-isel-args-fail2.ll @@ -0,0 +1,10 @@ +; RUN: llc < %s -fast-isel -fast-isel-abort-args -mtriple=x86_64-apple-darwin10 +; XFAIL: * + +%struct.s0 = type { x86_fp80, x86_fp80 } + +; FastISel cannot handle this case yet. Make sure that we abort. +define i8* @args_fail(%struct.s0* byval nocapture readonly align 16 %y) { + %1 = bitcast %struct.s0* %y to i8* + ret i8* %1 +} |