[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Thu Oct 5 16:00:18 PDT 2006
Changes in directory llvm/lib/Target/IA64:
IA64ISelLowering.cpp updated: 1.44 -> 1.45
---
Log message:
Make use of getStore().
---
Diffs of the changes: (+5 -6)
IA64ISelLowering.cpp | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.44 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.45
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.44 Tue Oct 3 19:55:13 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp Thu Oct 5 18:00:04 2006
@@ -387,8 +387,7 @@
}
SDOperand PtrOff = DAG.getConstant(ArgOffset, getPointerTy());
PtrOff = DAG.getNode(ISD::ADD, MVT::i64, StackPtr, PtrOff);
- Stores.push_back(DAG.getNode(ISD::STORE, MVT::Other, Chain,
- ValToStore, PtrOff, NullSV));
+ Stores.push_back(DAG.getStore(Chain, ValToStore, PtrOff, NullSV));
ArgOffset += ObjSize;
}
@@ -591,8 +590,8 @@
DAG.getConstant(MVT::getSizeInBits(VT)/8,
VT));
// Store the incremented VAList to the legalized pointer
- VAIncr = DAG.getNode(ISD::STORE, MVT::Other, VAList.getValue(1), VAIncr,
- Op.getOperand(1), Op.getOperand(2));
+ VAIncr = DAG.getStore(VAList.getValue(1), VAIncr,
+ Op.getOperand(1), Op.getOperand(2));
// Load the actual argument out of the pointer VAList
return DAG.getLoad(Op.getValueType(), VAIncr, VAList, DAG.getSrcValue(0));
}
@@ -600,8 +599,8 @@
// vastart just stores the address of the VarArgsFrameIndex slot into the
// memory location argument.
SDOperand FR = DAG.getFrameIndex(VarArgsFrameIndex, MVT::i64);
- return DAG.getNode(ISD::STORE, MVT::Other, Op.getOperand(0), FR,
- Op.getOperand(1), Op.getOperand(2));
+ return DAG.getStore(Op.getOperand(0), FR,
+ Op.getOperand(1), Op.getOperand(2));
}
}
}
More information about the llvm-commits
mailing list