Changes in directory llvm/lib/Target/IA64:

IA64ISelLowering.cpp updated: 1.40 -> 1.41
---
Log message:

RET_FLAG has an optional input flag, but it does not produce a flag result.

---
Diffs of the changes:  (+2 -8)

 IA64ISelLowering.cpp |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)


Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.40 
llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.41
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.40      Fri Aug 11 12:38:39 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp   Wed Aug 16 02:28:58 2006
@@ -573,14 +573,8 @@
                               SDOperand());
       AR_PFSVal = DAG.getCopyToReg(Copy.getValue(0), IA64::AR_PFS, AR_PFSVal,
                                    Copy.getValue(1));
-      std::vector<MVT::ValueType> NodeTys;
-      std::vector<SDOperand> RetOperands;
-      NodeTys.push_back(MVT::Other);
-      NodeTys.push_back(MVT::Flag);
-      RetOperands.push_back(AR_PFSVal);
-      RetOperands.push_back(AR_PFSVal.getValue(1));
-      return DAG.getNode(IA64ISD::RET_FLAG, NodeTys,
-                         &RetOperands[0], RetOperands.size());
+      return DAG.getNode(IA64ISD::RET_FLAG, MVT::Other,
+                         AR_PFSVal, AR_PFSVal.getValue(1));
     }
     }
     return SDOperand();



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to