[llvm] r210816 - [FastISel][X86] Argument lowering test case

Juergen Ributzka juergen at apple.com
Thu Jun 12 13:34:09 PDT 2014


Author: ributzka
Date: Thu Jun 12 15:34:09 2014
New Revision: 210816

URL: http://llvm.org/viewvc/llvm-project?rev=210816&view=rev
Log:
[FastISel][X86] Argument lowering test case

This test case is supposed to xfail, because we do not handle structs or byval
arguments.

Added:
    llvm/trunk/test/CodeGen/X86/fast-isel-args-fail2.ll

Added: llvm/trunk/test/CodeGen/X86/fast-isel-args-fail2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fast-isel-args-fail2.ll?rev=210816&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fast-isel-args-fail2.ll (added)
+++ llvm/trunk/test/CodeGen/X86/fast-isel-args-fail2.ll Thu Jun 12 15:34:09 2014
@@ -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
+}





More information about the llvm-commits mailing list