[llvm-commits] [llvm] r154210 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Apr 6 14:21:59 PDT 2012


Author: stoklund
Date: Fri Apr  6 16:21:59 2012
New Revision: 154210

URL: http://llvm.org/viewvc/llvm-project?rev=154210&view=rev
Log:
ARMPat is equivalent to Requires<[IsARM]>.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrInfo.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=154210&r1=154209&r2=154210&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Fri Apr  6 16:21:59 2012
@@ -4812,10 +4812,9 @@
 def : Pat<(ARMtcret (i32 texternalsym:$dst)), (TCRETURNdi texternalsym:$dst)>;
 
 // Direct calls
-def : ARMPat<(ARMcall texternalsym:$func), (BL texternalsym:$func)>,
-      Requires<[IsARM]>;
+def : ARMPat<(ARMcall texternalsym:$func), (BL texternalsym:$func)>;
 def : ARMPat<(ARMcall_nolink texternalsym:$func),
-             (BMOVPCB_CALL texternalsym:$func)>, Requires<[IsARM]>;
+             (BMOVPCB_CALL texternalsym:$func)>;
 
 // zextload i1 -> zextload i8
 def : ARMPat<(zextloadi1 addrmode_imm12:$addr), (LDRBi12 addrmode_imm12:$addr)>;





More information about the llvm-commits mailing list