summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 11:14:33 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 11:14:33 +0000
commite98b7a0389f37c6e97c43d253cbdf22d7bcec7f6 (patch)
tree973bb340df70e18ae909d977197d8ebb7c09bf5e /llvm/lib/Transforms
parent7ec41c782772d53c63d828850ee681eaaa074ce7 (diff)
downloadbcm5719-llvm-e98b7a0389f37c6e97c43d253cbdf22d7bcec7f6.tar.gz
bcm5719-llvm-e98b7a0389f37c6e97c43d253cbdf22d7bcec7f6.zip
Revert EVT->MVT changes, r169836-169851, due to buildbot failures.
llvm-svn: 169854
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
index f39a370e13c..e6abfdf581f 100644
--- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
@@ -1093,7 +1093,7 @@ bool CodeGenPrepare::MoveExtToFormExtLoad(Instruction *I) {
assert(isa<SExtInst>(I) && "Unexpected ext type!");
LType = ISD::SEXTLOAD;
}
- if (TLI && !TLI->isLoadExtLegal(LType, TLI->getSimpleValueType(LI->getType())))
+ if (TLI && !TLI->isLoadExtLegal(LType, TLI->getValueType(LI->getType())))
return false;
// Move the extend into the same block as the load, so that SelectionDAG
OpenPOWER on IntegriCloud