llvm-project/llvm/test/Transforms/LoopDeletion
Nikita Popov af49bed933 [IndVars] Simplify instructions after replacing header phi with preheader value
After replacing a loop phi with the preheader value, it's usually
possible to simplify some of the using instructions, so do that as
part of replaceLoopPHINodesWithPreheaderValues().

Doing this as part of IndVars is valuable, because it may make GEPs
in the loop have constant offsets and allow the following SROA run
to succeed (as demonstrated in the PhaseOrdering test).

Differential Revision: https://reviews.llvm.org/D129293
2022-07-13 10:27:04 +02:00
..
2007-07-23-InfiniteLoop.ll
2008-05-06-Phi.ll
2011-06-21-phioperands.ll
2017-07-11-incremental-dt.ll
D108848-regression.ll
assume.ll
basic-remark.ll
bbi-59728.ll
blockaddress.ll [test][LoopDeletion] Precommit test 2022-04-15 12:40:12 -07:00
crashbc.ll
dcetest.ll
diundef.ll
eval_first_iteration.ll [InstSimplify] Handle unknown function context in pointer icmp fold (PR54615) 2022-05-10 11:48:43 +02:00
invalidation.ll
irreducible-cfg.ll
loops-with-irreducible-subloops.ll
multiple-exit-conditions.ll
multiple-exits.ll
mustprogress.ll
no-exit-blocks.ll
noop-loops-with-subloops.ll
pr49967.ll
pr53969.ll [IndVars] Simplify instructions after replacing header phi with preheader value 2022-07-13 10:27:04 +02:00
pr56266.ll [LoopDeletion] Fix deletion with unusual predecessor terminator (PR56266) 2022-07-01 16:13:35 +02:00
simplify-then-delete.ll
switch.ll
two-predecessors.ll
unreachable-loops.ll [NFC] Switch a few uses of undef to poison as placeholders for unreachble code 2022-06-30 21:47:31 +01:00
update-scev.ll [NFC] Switch a few uses of undef to poison as placeholders for unreachble code 2022-06-30 21:47:31 +01:00
use-in-unreachable.ll
zero-btc.ll