Remove the optimize for code size limitation on r67917. Optimize 64-bit imul by const...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 1 Mar 2010 22:00:11 +0000 (22:00 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 1 Mar 2010 22:00:11 +0000 (22:00 +0000)
commit73736df88ba5a35bf172191c2dea5294306fce04
tree0221c5dba0066c0c908b0102d0fe8a691e21d639
parentadc5347b54fa71368b7b93f003993ad90da99135
Remove the optimize for code size limitation on r67917. Optimize 64-bit imul by constants into leas + shl regardless if optimizing for code size. The size saving from using imulq isn't worth it. Also, the lea and shl instructions may expose further optimization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97507 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp