llvm-6502/lib/Transforms
Evan Cheng cdf43b1fad If a loop termination compare instruction is the only use of its stride,
and the compaison is against a constant value, try eliminate the stride
by moving the compare instruction to another stride and change its
constant operand accordingly. e.g.

loop:
...
v1 = v1 + 3
v2 = v2 + 1
if (v2 < 10) goto loop
=>
loop:
...
v1 = v1 + 3
if (v1 < 30) goto loop


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43336 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 09:11:16 +00:00
..
Hello Fix typo in comment. 2007-05-06 13:37:16 +00:00
Instrumentation New CallInst interface to address GLIBCXX_DEBUG errors caused by 2007-08-01 03:43:44 +00:00
IPO Fix off by 1 bug in printf->puts lowering. 2007-10-24 20:14:50 +00:00
Scalar If a loop termination compare instruction is the only use of its stride, 2007-10-25 09:11:16 +00:00
Utils Reg2Mem cleanup and optimizations: 2007-10-21 23:05:16 +00:00
Makefile Build Hello by default so it can be used in test cases. 2007-04-11 21:03:37 +00:00