ARMInstrInfo: Improve isSwiftFastImmShift
authorArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 5 Jun 2013 14:59:36 +0000 (14:59 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 5 Jun 2013 14:59:36 +0000 (14:59 +0000)
commitd87bd5627e5b78cb556d6c7b5aa76ae3d55d8acf
treeb6566861c4f7a3d8435cb868c26c9b3706d4119f
parentfcce70ad527cec1fc10b855ee072efb562a2521e
ARMInstrInfo: Improve isSwiftFastImmShift

An instruction with less than 3 inputs is trivially a fast immediate shift.

Reapply of 183256, should not have caused the tablegen segfault on linux either.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183314 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp