summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-04-27 07:50:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-04-27 07:50:02 +0000
commite54018687d861b962cbee8724e9a3ed089a3bb0e (patch)
treea7d57f6fb9ca38c66bcb7725c2d2df0419c1c432 /llvm/lib
parent68ec63b3d7aa5b033041cab80e4b81304adb4436 (diff)
downloadbcm5719-llvm-e54018687d861b962cbee8724e9a3ed089a3bb0e.tar.gz
bcm5719-llvm-e54018687d861b962cbee8724e9a3ed089a3bb0e.zip
Back out previous check-in. Incorrect.
llvm-svn: 36503
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb.td8
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td
index 56a2d9452d4..48196369add 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb.td
@@ -56,10 +56,6 @@ class TIt<dag ops, string asm, list<dag> pattern>
class TIx2<dag ops, string asm, list<dag> pattern>
: ThumbI<ops, AddrModeNone, Size4Bytes, asm, "", pattern>;
-// tLEApcrel and tLEApcrelJT
-class TIsx2<dag ops, string asm, list<dag> pattern>
- : ThumbI<ops, AddrModeTs, Size4Bytes, asm, "", pattern>;
-
// BR_JT instructions
class TJTI<dag ops, string asm, list<dag> pattern>
: ThumbI<ops, AddrModeNone, SizeSpecial, asm, "", pattern>;
@@ -513,14 +509,14 @@ let usesCustomDAGSchedInserter = 1 in // Expanded by the scheduler.
// tLEApcrel - Load a pc-relative address into a register without offending the
// assembler.
-def tLEApcrel : TIsx2<(ops GPR:$dst, i32imm:$label),
+def tLEApcrel : TIx2<(ops GPR:$dst, i32imm:$label),
!strconcat(!strconcat(".set PCRELV${:uid}, ($label-(",
"${:private}PCRELL${:uid}+6))\n"),
!strconcat("\tmov $dst, #PCRELV${:uid}\n",
"${:private}PCRELL${:uid}:\n\tadd $dst, pc")),
[]>;
-def tLEApcrelJT : TIsx2<(ops GPR:$dst, i32imm:$label, i32imm:$id),
+def tLEApcrelJT : TIx2<(ops GPR:$dst, i32imm:$label, i32imm:$id),
!strconcat(!strconcat(".set PCRELV${:uid}, (${label}_${id:no_hash}-(",
"${:private}PCRELL${:uid}+4))\n"),
!strconcat("\tmov $dst, #PCRELV${:uid}\n",
OpenPOWER on IntegriCloud