aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-08-30 02:03:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-08-30 02:03:58 +0000
commit76a64c7811554a1f8ff4a8a9b8b9c741d6fc87cc (patch)
tree87faea68b182e4ad706a5115bc95457bf923685d /lib/CodeGen/MachineInstr.cpp
parentd9e5d8b5bb920ad7b797f2722680866e7a63838c (diff)
downloadexternal_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