[ARM64] Never hoist the shift value of a shift instruction.
authorJuergen Ributzka <juergen@apple.com>
Sat, 12 Apr 2014 02:53:51 +0000 (02:53 +0000)
committerJuergen Ributzka <juergen@apple.com>
Sat, 12 Apr 2014 02:53:51 +0000 (02:53 +0000)
commit2aa7106dd6cf0ee59a114d7ddcc50d1ba4ee687d
tree9a589200ae334df2010077a1301500855538ce84
parent940b67465dbd12240dfc3d88288b2da9563ccdd7
[ARM64] Never hoist the shift value of a shift instruction.

There is no need to check if we want to hoist the immediate value of an
shift instruction. Simply return TCC_Free right away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206101 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64TargetTransformInfo.cpp
test/Transforms/ConstantHoisting/ARM64/large-immediate.ll