1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[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
This commit is contained in:
Juergen Ributzka 2014-06-12 20:34:09 +00:00
parent a1c12b2a44
commit cac321ed67

View File

@ -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
}