[llvm-commits] [llvm] r77363 - in /llvm/trunk: lib/Target/ARM/ARMInstrThumb2.td test/CodeGen/Thumb2/thumb2-orn.ll test/CodeGen/Thumb2/thumb2-orn2.ll
David Goodwin
david_goodwin at apple.com
Tue Jul 28 13:58:33 PDT 2009
Another rdar in an llvm commit! Who is that loser? Anyway this is
another case of an instruction not being recognized by Apple's
assembler. I'll revert as soon as we get that fixed (should be soon).
David
On Jul 28, 2009, at 1:51 PM, David Goodwin wrote:
> Author: david_goodwin
> Date: Tue Jul 28 15:51:25 2009
> New Revision: 77363
>
> URL: http://llvm.org/viewvc/llvm-project?rev=77363&view=rev
> Log:
> Remove support for ORN to workaround <rdar://problem/7096522>.
>
> Modified:
> llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
> llvm/trunk/test/CodeGen/Thumb2/thumb2-orn.ll
> llvm/trunk/test/CodeGen/Thumb2/thumb2-orn2.ll
>
> Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=77363&r1=77362&r2=77363&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
> +++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Tue Jul 28 15:51:25
> 2009
> @@ -745,7 +745,8 @@
>
> // FIXME: A8.6.18 BFI - Bitfield insert (Encoding T1)
>
> -defm t2ORN : T2I_bin_irs<"orn", BinOpFrag<(or node:$LHS, (not
> node:$RHS))>>;
> +// FIXME workaround for <rdar://problem/7096522>
> +//defm t2ORN : T2I_bin_irs<"orn", BinOpFrag<(or node:$LHS, (not
> node:$RHS))>>;
>
> // Prefer over of t2EORri ra, rb, -1 because mvn has 16-bit version
> let AddedComplexity = 1 in
> @@ -755,8 +756,9 @@
> def : T2Pat<(and GPR:$src, t2_so_imm_not:$imm),
> (t2BICri GPR:$src, t2_so_imm_not:$imm)>;
>
> -def : T2Pat<(or GPR:$src, t2_so_imm_not:$imm),
> - (t2ORNri GPR:$src, t2_so_imm_not:$imm)>;
> +// FIXME workaround for <rdar://problem/7096522>
> +//def : T2Pat<(or GPR:$src, t2_so_imm_not:$imm),
> +// (t2ORNri GPR:$src, t2_so_imm_not:$imm)>;
>
> def : T2Pat<(t2_so_imm_not:$src),
> (t2MVNi t2_so_imm_not:$src)>;
>
> Modified: llvm/trunk/test/CodeGen/Thumb2/thumb2-orn.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/thumb2-orn.ll?rev=77363&r1=77362&r2=77363&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/test/CodeGen/Thumb2/thumb2-orn.ll (original)
> +++ llvm/trunk/test/CodeGen/Thumb2/thumb2-orn.ll Tue Jul 28 15:51:25
> 2009
> @@ -1,3 +1,4 @@
> +; XFAIL: *
> ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {orn\
> \W*r\[0-9\]*,\\W*r\[0-9\]*,\\W*r\[0-9\]*$} | count 4
> ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {orn\
> \W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*lsl\\W*#5$} | count 1
> ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {orn\
> \W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\],\\W*lsr\\W*#6$} | count 1
>
> Modified: llvm/trunk/test/CodeGen/Thumb2/thumb2-orn2.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/thumb2-orn2.ll?rev=77363&r1=77362&r2=77363&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/test/CodeGen/Thumb2/thumb2-orn2.ll (original)
> +++ llvm/trunk/test/CodeGen/Thumb2/thumb2-orn2.ll Tue Jul 28
> 15:51:25 2009
> @@ -1,3 +1,4 @@
> +; XFAIL: *
> ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {orn\
> \W*r\[0-9\]*,\\W*r\[0-9\]*,\\W*#\[0-9\]*} | grep {#187\\|#11141290\\|
> #3422604288\\|#1114112} | count 4
>
> ; 0x000000bb = 187
>
>
> _______________________________________________
> 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