summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 09:39:09 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 09:39:09 +0000
commitcbc9d4d0f9abfd5950e38c3d9262d49ff8a3f1dc (patch)
treeda57e9534b71d6c38a01b9f06d41776418d2cfa1 /llvm/lib/CodeGen
parent40e1afe970c2e5f34540557bd2523c18ad57c2c5 (diff)
downloadbcm5719-llvm-cbc9d4d0f9abfd5950e38c3d9262d49ff8a3f1dc.tar.gz
bcm5719-llvm-cbc9d4d0f9abfd5950e38c3d9262d49ff8a3f1dc.zip
Change TargetLowering::getLoadExtAction to take an MVT, instead of EVT.
llvm-svn: 169840
Diffstat (limited to 'llvm/lib/CodeGen')
-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