diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-08 08:24:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-08 08:24:46 +0000 |
commit | d9ec3572f3d0997348361334446f942194522127 (patch) | |
tree | 485ac863b85c5c16384201857fe935ed24d10cf4 /lib/CodeGen/StackProtector.cpp | |
parent | c3942eb95d10fac62c6b5227f344bcda3f578077 (diff) |
Have loop-rotate simplify instructions (yay instsimplify!) as it clones
them into the loop preheader, eliminating silly instructions like
"icmp i32 0, 100" in fixed tripcount loops. This also better exposes the
bigger problem with loop rotate that I'd like to fix: once this has been
folded, the duplicated conditional branch *often* turns into an uncond branch.
Not aggressively handling this is pessimizing later loop optimizations
somethin' fierce by making "dominates all exit blocks" checks fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions