[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 18 15:11:54 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.88 -> 1.89
---
Log message:
remove hack
---
Diffs of the changes: (+1 -3)
SelectionDAGISel.cpp | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.88 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.89
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.88 Mon Oct 10 11:47:10 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Tue Oct 18 17:11:42 2005
@@ -151,9 +151,7 @@
// FIXME: This could be made better with a preferred alignment hook in
// TargetData. It serves primarily to 8-byte align doubles for X86.
if (Align < TySize && TySize <= 8) Align = TySize;
-
- if (CUI->getValue()) // Don't produce zero sized stack objects
- TySize *= CUI->getValue(); // Get total allocated size.
+ TySize *= CUI->getValue(); // Get total allocated size.
StaticAllocaMap[AI] =
MF.getFrameInfo()->CreateStackObject((unsigned)TySize, Align);
}
More information about the llvm-commits
mailing list