diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-07-30 21:51:41 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-07-30 21:51:41 +0000 |
commit | 8f652532365afed2274ec3b8513bb8faef16d2c2 (patch) | |
tree | 284807141fb63d3f616ed05be24ec26deeb3bd7a /lib | |
parent | 7c92f3ac99c39d745e909390edb71c72bafecc24 (diff) | |
download | external_llvm-8f652532365afed2274ec3b8513bb8faef16d2c2.zip external_llvm-8f652532365afed2274ec3b8513bb8faef16d2c2.tar.gz external_llvm-8f652532365afed2274ec3b8513bb8faef16d2c2.tar.bz2 |
Darwin assembler now recognizes "orn", so remove workaround.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 15245c3..16d7e8e 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -749,8 +749,7 @@ def t2BFC : T2I<(outs GPR:$dst), (ins GPR:$src, bf_inv_mask_imm:$imm), // FIXME: A8.6.18 BFI - Bitfield insert (Encoding T1) -// FIXME workaround for <rdar://problem/7096522> -//defm t2ORN : T2I_bin_irs<"orn", BinOpFrag<(or node:$LHS, (not node:$RHS))>>; +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 @@ -760,9 +759,8 @@ defm t2MVN : T2I_un_irs <"mvn", UnOpFrag<(not node:$Src)>, 1, 1>; def : T2Pat<(and GPR:$src, t2_so_imm_not:$imm), (t2BICri 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<(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)>; |