1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/EarlyCSE
Tim Northover 0fd791723d InstructionSimplify: don't speculate about Constants changing.
When presented with an icmp/select pair, we can end up asking what would happen
if we replaced one constant with another in an instruction. This is a mistake,
while non-constant Values could become a constant, constants cannot change and
trying to do so can lead to completely invalid IR (a GEP referencing a
non-existant field in the original case).

llvm-svn: 303580
2017-05-22 21:28:08 +00:00
..
AArch64
atomics.ll
basic.ll
commute.ll
conditional.ll
const-speculation.ll InstructionSimplify: don't speculate about Constants changing. 2017-05-22 21:28:08 +00:00
edge.ll
fence.ll
flags.ll
floatingpoint.ll
guards.ll
instsimplify-dom.ll
invariant-loads.ll
invariant.start.ll
memoryssa.ll
read-reg.ll
readnone-mayunwind.ll