forked from OSchip/llvm-project
37dd4d7aaa
This is a latent bug that's been hanging around for a while. For a loop-invariant pointer, expandBounds would return the range {Ptr, Ptr}, but this was interpreted as a half-open range, not a closed range. So we ended up planting incorrect bounds checks. Even worse, they were tautological, so we ended up incorrectly executing the optimized loop. llvm-svn: 299526 |
||
---|---|---|
.. | ||
loopversioningLICM1.ll | ||
loopversioningLICM2.ll | ||
loopversioningLICM3.ll | ||
metadata.ll |