Take the FrameOffset into account when computing the alignment
authorDan Gohman <gohman@apple.com>
Mon, 11 Aug 2008 18:27:03 +0000 (18:27 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 11 Aug 2008 18:27:03 +0000 (18:27 +0000)
commit8cea8ff34c7fb7a64b6fd247b9db0d097d1ffeea
treedd49377372d124c94eb274a1280c7444cc1edb2c
parent1db3c92306f551a81440dffd88ce07b9fbea97f4
Take the FrameOffset into account when computing the alignment
of stack objects. This fixes PR2656.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54646 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/pr2656.ll [new file with mode: 0644]