summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2011-02-16 16:23:55 +0000
committerStuart Hastings <stuart@apple.com>2011-02-16 16:23:55 +0000
commita901129169194881a78b7fd8953e09f55b846d10 (patch)
treeb307aeda833dd1b42aeda48372573c4ec121517b /lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
parent5a287d7a03ebf56c85de05968548aa2826a5886b (diff)
downloadllvm-a901129169194881a78b7fd8953e09f55b846d10.tar.gz
llvm-a901129169194881a78b7fd8953e09f55b846d10.tar.bz2
llvm-a901129169194881a78b7fd8953e09f55b846d10.tar.xz
Swap VT and DebugLoc operands of getExtLoad() for consistency with
other getNode() methods. Radar 9002173. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
index 4d035578de..27752123aa 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
@@ -1110,7 +1110,7 @@ void DAGTypeLegalizer::ExpandFloatRes_LOAD(SDNode *N, SDValue &Lo,
assert(NVT.isByteSized() && "Expanded type not byte sized!");
assert(LD->getMemoryVT().bitsLE(NVT) && "Float type not round?");
- Hi = DAG.getExtLoad(LD->getExtensionType(), NVT, dl, Chain, Ptr,
+ Hi = DAG.getExtLoad(LD->getExtensionType(), dl, NVT, Chain, Ptr,
LD->getPointerInfo(), LD->getMemoryVT(), LD->isVolatile(),
LD->isNonTemporal(), LD->getAlignment());