aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2008-07-02 17:50:10 +0000
committerMon P Wang <wangmp@apple.com>2008-07-02 17:50:10 +0000
commit6ed2d1ecdbac0fe9c34cfc6ab5c985dc0c71a1d7 (patch)
tree14e31e192d37ce664fdf1e8e0cad47c06dd9463c
parent4bdcb61af33399d4e01fdf3c47ca1f1f5356e370 (diff)
Make the default min align of CreateStackTemporary to be 1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53036 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index d0be1a8cc7..916cbf28da 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -582,7 +582,7 @@ public:
/// 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,