Skip to content
Commit d632f895 authored by Dan Gohman's avatar Dan Gohman
Browse files

Make LSR's OptimizeShadowIV ignore induction variables with negative

strides for now, because it doesn't handle them correctly. This fixes a
miscompile of SingleSource/Benchmarks/Misc-C++/ray.

This problem was usually hidden because indvars transforms such induction
variables into negations of canonical induction variables.

llvm-svn: 85118
parent 4302824f
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