Explicitly mark LEApcrel pseudos with hasSideEffects.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 24 Aug 2012 21:44:11 +0000 (21:44 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 24 Aug 2012 21:44:11 +0000 (21:44 +0000)
commit47ac1a8ec0576c08274b3a6688f0d00cb80346b4
tree1496ef62dc7991608b2ab1f234466276beafc43f
parent175ea24e383d6277fb94434043e8d1059a89c22b
Explicitly mark LEApcrel pseudos with hasSideEffects.

It's not clear that they should be marked as such, but tbb formation
fails if t2LEApcrelJT is hoisted of of a loop.

This doesn't change the flags on these instructions,
UnmodeledSideEffects was already inferred from the missing pattern.

llvm-svn: 162603
llvm/lib/Target/ARM/ARMInstrInfo.td
llvm/lib/Target/ARM/ARMInstrThumb2.td