commit | fc5d305597ea6336d75bd7f3b741e8d57d6a5105 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri May 06 20:34:06 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri May 06 20:34:06 2011 +0000 |
tree | 74cae16e5f701b7d0bc679d547c4fe85f91be3a7 | |
parent | 8265e6ab4fb5ff178266d960c5d894f5828bb8ce [diff] [blame] |
Make the logic for determining function alignment more explicit. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131012 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 15606af..d163ebf 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -596,6 +596,8 @@ SchedPreferenceInfo = Sched::Latency; JumpBufSize = 0; JumpBufAlignment = 0; + MinFunctionAlignment = 0; + PrefFunctionAlignment = 0; PrefLoopAlignment = 0; MinStackArgumentAlignment = 1; ShouldFoldAtomicFences = false;