Generalize OptimizeLoopTermCond to optimize more loop terminating icmp to use postinc iv.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 17 Nov 2009 18:10:11 +0000 (18:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 17 Nov 2009 18:10:11 +0000 (18:10 +0000)
commit076e085698c484354c9e131f1bd8fd001581397b
tree61c9b2714cf4017a1e7c3af8462680e47a65ba64
parent37d60fd1427386f68faeb0217ac2034d1acfe486
Generalize OptimizeLoopTermCond to optimize more loop terminating icmp to use postinc iv.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89116 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/icmp_use_postinc.ll [new file with mode: 0644]