diff options
author | Eric Christopher <echristo@apple.com> | 2010-07-17 00:28:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-07-17 00:28:22 +0000 |
commit | 0baaa9bcc18bc22371de8fbacd82dc82599dd151 (patch) | |
tree | a200c20c4ab2151bce195f49c0885e7a2e95f1fa /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 24e3aa011abaffe6d8b9e27cf260a758c3158cb1 (diff) | |
download | bcm5719-llvm-0baaa9bcc18bc22371de8fbacd82dc82599dd151.tar.gz bcm5719-llvm-0baaa9bcc18bc22371de8fbacd82dc82599dd151.zip |
Propagate alloca alignment information via variable size object frame
information.
No functional change yet.
llvm-svn: 108583
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 4a0004a86c8..723e0f0a914 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -2848,7 +2848,7 @@ void SelectionDAGBuilder::visitAlloca(const AllocaInst &I) { // Inform the Frame Information that we have just allocated a variable-sized // object. - FuncInfo.MF->getFrameInfo()->CreateVariableSizedObject(); + FuncInfo.MF->getFrameInfo()->CreateVariableSizedObject(Align ? Align : 1); } void SelectionDAGBuilder::visitLoad(const LoadInst &I) { |