diff options
author | Wojciech Matyjewicz <wmatyjewicz@fastmail.fm> | 2008-02-11 18:37:34 +0000 |
---|---|---|
committer | Wojciech Matyjewicz <wmatyjewicz@fastmail.fm> | 2008-02-11 18:37:34 +0000 |
commit | adae053b5365b6a7f92682e306c410f2e129a24d (patch) | |
tree | 0f6141c3c1274da0aad2a731e3a1220659e705d4 /llvm/lib/CodeGen | |
parent | 6f30a0798ffad09b845c03d6da988e72d90237b8 (diff) | |
download | bcm5719-llvm-adae053b5365b6a7f92682e306c410f2e129a24d.tar.gz bcm5719-llvm-adae053b5365b6a7f92682e306c410f2e129a24d.zip |
If the LHS of the comparison is a loop-invariant we also want to move it
to the RHS. This simple change allows to compute loop iteration count
for loops with condition similar to the one in the testcase (which seems
to be quite common).
llvm-svn: 46959
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions