Skip to content
Commit 907dc2bc authored by Evan Cheng's avatar Evan Cheng
Browse files

Fix PR2355: bug in ChangeCompareStride. When the loop termination compare is...

Fix PR2355: bug in ChangeCompareStride. When the loop termination compare is the only use of its iv stride, the stride can be eliminated by moving it to another stride. If the scale is negative, swap the predicate instead of using a inverse predicate.

llvm-svn: 54415
parent 2dd3e4e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment