[llvm-commits] [llvm] r162615 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb.td

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Aug 24 15:46:55 PDT 2012


Author: stoklund
Date: Fri Aug 24 17:46:55 2012
New Revision: 162615

URL: http://llvm.org/viewvc/llvm-project?rev=162615&view=rev
Log:
Missed tLEApcrelJT.

ARMConstantIslandPass expects this instruction to stay in the same basic
block as the jump table branch.

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

Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb.td?rev=162615&r1=162614&r2=162615&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb.td Fri Aug 24 17:46:55 2012
@@ -1200,6 +1200,7 @@
 def tLEApcrel   : tPseudoInst<(outs tGPR:$Rd), (ins i32imm:$label, pred:$p),
                               2, IIC_iALUi, []>;
 
+let hasSideEffects = 1 in
 def tLEApcrelJT : tPseudoInst<(outs tGPR:$Rd),
                               (ins i32imm:$label, nohash_imm:$id, pred:$p),
                               2, IIC_iALUi, []>;





More information about the llvm-commits mailing list