[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 11 10:38:56 PDT 2006



Changes in directory llvm/lib/Target/Alpha:

AlphaISelLowering.cpp updated: 1.57 -> 1.58
---
Log message:

Eliminate use of getNode that takes a vector.


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

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


Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.57 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.58
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.57	Fri Aug 11 12:19:54 2006
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp	Fri Aug 11 12:38:39 2006
@@ -261,7 +261,7 @@
     }
 
     //Set up a token factor with all the stack traffic
-    Root = DAG.getNode(ISD::TokenFactor, MVT::Other, LS);
+    Root = DAG.getNode(ISD::TokenFactor, MVT::Other, &LS[0], LS.size());
   }
 
   ArgValues.push_back(Root);






More information about the llvm-commits mailing list