Changes in directory llvm/lib/Target/SparcV8:

SparcV8ISelDAGToDAG.cpp updated: 1.74 -> 1.75
---
Log message:

Allow the specification of explicit alignments for constant pool entries.


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

 SparcV8ISelDAGToDAG.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.74 
llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.75
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.74        Tue Jan 31 
11:20:06 2006
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp     Tue Jan 31 16:21:34 2006
@@ -693,7 +693,8 @@
   }
   case ISD::ConstantPool: {
     Constant *C = cast<ConstantPoolSDNode>(Op)->get();
-    SDOperand CP = DAG.getTargetConstantPool(C, MVT::i32);
+    SDOperand CP = DAG.getTargetConstantPool(C, MVT::i32,
+                                  
cast<ConstantPoolSDNode>(Op)->getAlignment());
     SDOperand Hi = DAG.getNode(V8ISD::Hi, MVT::i32, CP);
     SDOperand Lo = DAG.getNode(V8ISD::Lo, MVT::i32, CP);
     return DAG.getNode(ISD::ADD, MVT::i32, Lo, Hi);



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

Reply via email to