[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 18 23:23:22 PST 2006
Changes in directory llvm/lib/Target/SparcV8:
SparcV8ISelDAGToDAG.cpp updated: 1.55 -> 1.56
---
Log message:
implement support for f32 arguments past the first 6 words
---
Diffs of the changes: (+5 -0)
SparcV8ISelDAGToDAG.cpp | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.55 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.56
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.55 Sun Jan 15 19:40:00 2006
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp Thu Jan 19 01:22:29 2006
@@ -266,6 +266,11 @@
Arg = DAG.getNode(ISD::BIT_CONVERT, MVT::f32, Arg);
ArgValues.push_back(Arg);
+ } else {
+ int FrameIdx = MF.getFrameInfo()->CreateFixedObject(4, ArgOffset);
+ SDOperand FIPtr = DAG.getFrameIndex(FrameIdx, MVT::i32);
+ SDOperand Load = DAG.getLoad(MVT::f32, Root, FIPtr, DAG.getSrcValue(0));
+ ArgValues.push_back(Load);
}
ArgOffset += 4;
break;
More information about the llvm-commits
mailing list