Revert "[SimpleLoopUnswitch] Fix introduction of UB when hoisted condition may be...
authorJuneyoung Lee <aqjune@gmail.com>
Fri, 28 Feb 2020 02:08:14 +0000 (11:08 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Fri, 28 Feb 2020 02:10:46 +0000 (11:10 +0900)
commit2b5a8976514de326bb84f0913d9d451089c11d22
treef2c7a2bbc0e2eeb2511c2fb549eeac678010a1d2
parentda0257563f5f5dccdab72c0d157dee596580b7a9
Revert "[SimpleLoopUnswitch] Fix introduction of UB when hoisted condition may be undef or poison"

.. due to performance regression.

This patch is reverted until infrastructore for CSE/LICM support for freeze is
added.

This reverts commit 181628b
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested2.ll
llvm/test/Transforms/SimpleLoopUnswitch/exponential-switch-unswitch.ll
llvm/test/Transforms/SimpleLoopUnswitch/guards.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll