summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-05-06 20:34:06 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-05-06 20:34:06 +0000
commitfc5d305597ea6336d75bd7f3b741e8d57d6a5105 (patch)
tree74cae16e5f701b7d0bc679d547c4fe85f91be3a7 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent8265e6ab4fb5ff178266d960c5d894f5828bb8ce (diff)
downloadllvm-fc5d305597ea6336d75bd7f3b741e8d57d6a5105.tar.gz
llvm-fc5d305597ea6336d75bd7f3b741e8d57d6a5105.tar.bz2
llvm-fc5d305597ea6336d75bd7f3b741e8d57d6a5105.tar.xz
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 15606af787..d163ebf82f 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -596,6 +596,8 @@ TargetLowering::TargetLowering(const TargetMachine &tm,
SchedPreferenceInfo = Sched::Latency;
JumpBufSize = 0;
JumpBufAlignment = 0;
+ MinFunctionAlignment = 0;
+ PrefFunctionAlignment = 0;
PrefLoopAlignment = 0;
MinStackArgumentAlignment = 1;
ShouldFoldAtomicFences = false;