summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-14 09:05:13 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-14 09:05:13 +0000
commit55d6f47a37e1f7620a121a94e20c727ff6f18ebe (patch)
treec8e018b27589917de037cb749455b07924a7ca7e /llvm/lib
parent26444c5243496953fa572bc0169f2ab006b1122a (diff)
downloadbcm5719-llvm-55d6f47a37e1f7620a121a94e20c727ff6f18ebe.tar.gz
bcm5719-llvm-55d6f47a37e1f7620a121a94e20c727ff6f18ebe.zip
Change TargetLowering::getLoadExtAction to take an MVT, instead of
EVT. llvm-svn: 170183
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 2c249fcaf96..c7eef8cf9ee 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1037,7 +1037,7 @@ void SelectionDAGLegalize::LegalizeLoadOps(SDNode *Node) {
Chain = Ch;
} else {
bool isCustom = false;
- switch (TLI.getLoadExtAction(ExtType, SrcVT)) {
+ switch (TLI.getLoadExtAction(ExtType, SrcVT.getSimpleVT())) {
default: llvm_unreachable("This action is not supported yet!");
case TargetLowering::Custom:
isCustom = true;
OpenPOWER on IntegriCloud