diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2014-09-10 17:33:32 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2014-09-10 17:33:32 +0000 |
commit | dd5c144246d1c47c820710b45b10a750835d11e4 (patch) | |
tree | 24acbfd69a1de90a9a848f41c06c4d1d3bbec25c /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp | |
parent | 1c9547ed51ae9db8dd7de6e26b50c1b79669f759 (diff) | |
download | llvm-dd5c144246d1c47c820710b45b10a750835d11e4.zip llvm-dd5c144246d1c47c820710b45b10a750835d11e4.tar.gz llvm-dd5c144246d1c47c820710b45b10a750835d11e4.tar.bz2 |
Allow to generate a loop without the GuardBB
This allows us to omit the GuardBB in front of created loops
if we can show the loop trip count is at least one. It also
simplifies the dominance relation inside the new created region.
A GuardBB (even with a constant branch condition) might trigger
false dominance errors during function verification.
Differential Revision: http://reviews.llvm.org/D5297
llvm-svn: 217525
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions