OSDN Git Service

Only try to sink immediate when TLI is not null. It needs to check if immediate would...
authorEvan Cheng <evan.cheng@apple.com>
Sun, 22 Feb 2009 07:31:19 +0000 (07:31 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 22 Feb 2009 07:31:19 +0000 (07:31 +0000)
commit3cd389de398e95b1633d310fc9c4af5b9f84b7af
tree4704c15d51b46d0ea92b2a47d05a51b73974c2cb
parentbdf0d7cfc14c144b3168db7acc7cacf72209812a
Only try to sink immediate when TLI is not null. It needs to check if immediate would fit in target addressing field.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65268 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp