diff options
author | Duncan Sands <baldrick@free.fr> | 2009-12-03 21:37:32 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-12-03 21:37:32 +0000 |
commit | bbd6b6ddf4f13db48189e94a793b132e7adcaa9f (patch) | |
tree | 91e410a3afee48641e4b3f9081df554d6c3e5c1b /llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp | |
parent | 18c7cbd99bbd507c04d5ae48b6284d1c0b7f1b72 (diff) | |
download | bcm5719-llvm-bbd6b6ddf4f13db48189e94a793b132e7adcaa9f.tar.gz bcm5719-llvm-bbd6b6ddf4f13db48189e94a793b132e7adcaa9f.zip |
Fix ExpandShiftWithUnknownAmountBit, which was completely bogus.
Pointed out by Javier Martinez (who also provided a patch). Since
this logic is not used on (for example) x86, I guess nobody noticed.
Tested by generating SHL, SRL, SRA on various choices of i64 for all
possible shift amounts, and comparing with gcc. Since I did this on
x86-32, I had to force the use of ExpandShiftWithUnknownAmountBit.
What I'm saying here is that I don't have a testcase I can add to the
repository.
llvm-svn: 90482
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions