[MemorySSA] Update for partial unswitch.
authorAlina Sbirlea <asbirlea@google.com>
Mon, 14 Oct 2019 23:52:39 +0000 (23:52 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Mon, 14 Oct 2019 23:52:39 +0000 (23:52 +0000)
commitb7a3353061e965f901ba5cfac366263d6d528f35
tree418fbf375caa1858fdf8cb93a0c45a4d2396f0e2
parent9586d85ab3badcf8ca2292ca6019caea4e6513c4
[MemorySSA] Update for partial unswitch.

Update MSSA for blocks cloned when doing partial unswitching.
Enable additional testing with MSSA.
Resolves PR43641.

llvm-svn: 374850
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
llvm/test/Analysis/MemorySSA/pr43641.ll [new file with mode: 0644]
llvm/test/Transforms/SimpleLoopUnswitch/delete-dead-blocks.ll
llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested2.ll
llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch.ll
llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch2.ll
llvm/test/Transforms/SimpleLoopUnswitch/exponential-switch-unswitch.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-redundant-switch.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll