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 | 9993b88f06fd54c0be31d35f0970ada70a4c0439 (patch) | |
tree | b49e3cf54a01ad529102922891d25639949f0273 /lib/CodeGen/MachineInstr.cpp | |
parent | f4811a96941433fc3828869d76dfeba5ec5decd3 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions