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

David Blaikie dblaikie at gmail.com
Thu Jun 12 13:55:21 PDT 2014


On Thu, Jun 12, 2014 at 1:34 PM, Juergen Ributzka <juergen at apple.com> wrote:
> 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

I'm assuming the right way to test this is to use "not" rather than
xfail (perhaps you can check other -fast-isel-abort-args tests to see
how they do this).

> +; 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
> +}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list