[llvm-commits] [llvm] r53036 - /llvm/trunk/include/llvm/CodeGen/SelectionDAG.h

Mon P Wang wangmp at apple.com
Wed Jul 2 10:50:19 PDT 2008


Author: wangmp
Date: Wed Jul  2 12:50:10 2008
New Revision: 53036

URL: http://llvm.org/viewvc/llvm-project?rev=53036&view=rev
Log:
Make the default min align of CreateStackTemporary to be 1

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAG.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAG.h?rev=53036&r1=53035&r2=53036&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Wed Jul  2 12:50:10 2008
@@ -582,7 +582,7 @@
   /// CreateStackTemporary - Create a stack temporary, suitable for holding the
   /// specified value type.  If minAlign is specified, the slot size will have
   /// at least that alignment.
-  SDOperand CreateStackTemporary(MVT VT, unsigned minAlign = 0);
+  SDOperand CreateStackTemporary(MVT VT, unsigned minAlign = 1);
 
   /// FoldSetCC - Constant fold a setcc to true or false.
   SDOperand FoldSetCC(MVT VT, SDOperand N1,





More information about the llvm-commits mailing list