diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-11-08 17:57:41 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-11-08 17:57:41 +0000 |
commit | 37977076956fed8a1cb6f00b188e4636f23371be (patch) | |
tree | 471b654606ac59ac2bfba7f49b985b4c1301080c /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 1dd6e37af45753e8e2980896a7240dd502f471e7 (diff) | |
download | llvm-37977076956fed8a1cb6f00b188e4636f23371be.zip llvm-37977076956fed8a1cb6f00b188e4636f23371be.tar.gz llvm-37977076956fed8a1cb6f00b188e4636f23371be.tar.bz2 |
[FIX] Use unreachable to indicate dead code and repair dominance
When we bail out early we make the partially build new code path
practically dead, though it was not unreachable. To remove dominance
problems we now make it not only dead but also prevent the control
flow to join with the original code path, thus allow to use original
values after the SCoP without any PHI nodes.
This fixes bug 25447.
llvm-svn: 252420
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions