Don't produce ADDC/ADDE when expanding SHL unless they are legal
authorRichard Osborne <richard@xmos.com>
Mon, 17 Nov 2008 17:34:31 +0000 (17:34 +0000)
committerRichard Osborne <richard@xmos.com>
Mon, 17 Nov 2008 17:34:31 +0000 (17:34 +0000)
commit104de6cf7b80ec5e9beb502a069f376810a0a1e3
treec431dc740afc8e8addeaca74fc17bed1ce535a84
parent35fde150591d7c5f032a5e7c9643315e5f2bedde
Don't produce ADDC/ADDE when expanding SHL unless they are legal
for the target. This fixes PR3080.

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