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 | c7147a3b6d63bba3dfac29e446847e69956a3f90 (patch) | |
tree | 32925da1577da5839c83d577956ab275fc966ac9 /test | |
parent | 3f2b28dcafc5eea8691218718cefed3d9bd9f294 (diff) | |
download | llvm-c7147a3b6d63bba3dfac29e446847e69956a3f90.tar.gz llvm-c7147a3b6d63bba3dfac29e446847e69956a3f90.tar.bz2 llvm-c7147a3b6d63bba3dfac29e446847e69956a3f90.tar.xz |
[FastISel][X86] Argument lowering test case
This test case is supposed to xfail, because we do not handle structs or byval
arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/fast-isel-args-fail2.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fast-isel-args-fail2.ll b/test/CodeGen/X86/fast-isel-args-fail2.ll new file mode 100644 index 0000000000..1b5e55c004 --- /dev/null +++ b/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 +} |