diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-26 15:32:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-26 15:32:57 +0000 |
commit | d632f89596f77e0df731280adedf3ac7e8fd1d4f (patch) | |
tree | acabf75e8fbc678fa3f1735d6acf2f05fda2c732 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4302824fe26039e00cf48da39f1c799d3c1de368 (diff) | |
download | bcm5719-llvm-d632f89596f77e0df731280adedf3ac7e8fd1d4f.tar.gz bcm5719-llvm-d632f89596f77e0df731280adedf3ac7e8fd1d4f.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions