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)
commit7778ee1ed9f9e8a3aa4911ff4adcf15e46588e03
tree083734230cc2f9082fe45d0846fcb04ac69e1e58
parentaaaecfce70c0aaed9225359fc56c67b59dca768e
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162603 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td