Port a shift-by-1 optimization from LegalizeDAG: it
authorDuncan Sands <baldrick@free.fr>
Fri, 11 Jul 2008 16:54:57 +0000 (16:54 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 11 Jul 2008 16:54:57 +0000 (16:54 +0000)
commitedfba7e707a4f2f2e800843a7ef980c27d7f4eff
treef1de28a47c1f6a8ed58c89371d07d5689797e836
parentdddc6291fb5274282a20d5923b50535d456d34a4
Port a shift-by-1 optimization from LegalizeDAG: it
was presumably added after the rest of the code was
copied to LegalizeTypes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/2008-07-11-SHLBy1.ll [new file with mode: 0644]