aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MBlaze
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2013-04-19 22:22:57 +0000
committerMichael Liao <michael.liao@intel.com>2013-04-19 22:22:57 +0000
commit2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2 (patch)
tree382b1250e8154fb540ac645d2e5f9fd1f65cb880 /lib/Target/MBlaze
parent87c1e42be7dadaea7c3e00fb7ccbd77633cea37f (diff)
downloadexternal_llvm-2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2.zip
external_llvm-2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2.tar.gz
external_llvm-2a8bea7a8eba9bfa05dcc7a87e9152a0043841b2.tar.bz2
ArrayRefize getMachineNode(). No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r--lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp b/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp
index 78ad24d..34e33fd 100644
--- a/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp
+++ b/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp
@@ -237,7 +237,7 @@ SDNode* MBlazeDAGToDAGISel::Select(SDNode *Node) {
// Use load to get GOT target
SDValue Ops[] = { Callee, GPReg, Chain };
SDValue Load = SDValue(CurDAG->getMachineNode(MBlaze::LW, dl,
- MVT::i32, MVT::Other, Ops, 3), 0);
+ MVT::i32, MVT::Other, Ops), 0);
Chain = Load.getValue(1);
// Call target must be on T9