diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-30 02:03:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-30 02:03:58 +0000 |
commit | 76a64c7811554a1f8ff4a8a9b8b9c741d6fc87cc (patch) | |
tree | 87faea68b182e4ad706a5115bc95457bf923685d /lib/CodeGen/MachineInstr.cpp | |
parent | d9e5d8b5bb920ad7b797f2722680866e7a63838c (diff) | |
download | external_llvm-76a64c7811554a1f8ff4a8a9b8b9c741d6fc87cc.tar.gz external_llvm-76a64c7811554a1f8ff4a8a9b8b9c741d6fc87cc.tar.bz2 external_llvm-76a64c7811554a1f8ff4a8a9b8b9c741d6fc87cc.zip |
Transform (x << (y&31)) -> (x << y). This takes advantage of the fact x86 shift instructions 2nd operand (shift count) is limited to 0 to 31 (or 63 in the x86-64 case).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions