[CodeGenPrepare][AddressingModeMatcher] Give up on type promotion if the
authorQuentin Colombet <qcolombet@apple.com>
Fri, 14 Feb 2014 22:23:22 +0000 (22:23 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 14 Feb 2014 22:23:22 +0000 (22:23 +0000)
commit038600b42eae3c09fa14c8ab6e4720bcca702dde
treeb191f3c179b92996886b68adab33bb25cb49d37b
parent5f8059479783315124eca7c406804ae5e7a713fe
[CodeGenPrepare][AddressingModeMatcher] Give up on type promotion if the
transformation does not bring any immediate benefits and introduce an illegal
operation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201439 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
test/CodeGen/R600/codegen-prepare-addrmode-sext.ll