[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp

Nate Begeman natebegeman at mac.com
Fri Jan 27 19:14:44 PST 2006



Changes in directory llvm/lib/Target/IA64:

IA64ISelLowering.cpp updated: 1.30 -> 1.31
---
Log message:

Implement Promote for VAARG, and allow it to be custom promoted for people
who don't want the default behavior (Alpha).


---
Diffs of the changes:  (+1 -1)

 IA64ISelLowering.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.30 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.31
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.30	Fri Jan 27 18:02:51 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp	Fri Jan 27 21:14:31 2006
@@ -588,7 +588,7 @@
     VAIncr = DAG.getNode(ISD::STORE, MVT::Other, VAList.getValue(1), VAIncr,
                          Op.getOperand(1), Op.getOperand(2));
     // Load the actual argument out of the pointer VAList
-    return DAG.getLoad(VT, VAIncr, VAList, DAG.getSrcValue(0));
+    return DAG.getLoad(Op.getValueType(), VAIncr, VAList, DAG.getSrcValue(0));
   }
   case ISD::VASTART: {
     // vastart just stores the address of the VarArgsFrameIndex slot into the






More information about the llvm-commits mailing list