[PATCH] D18471: [CodeGen] Don't assume that fixed stack objects are aligned in a stack-realigned function.

Charles Davis via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 23:07:11 PDT 2016


cdavis5x created this revision.
cdavis5x added reviewers: hfinkel, qcolombet.
cdavis5x added a subscriber: llvm-commits.

After we make the adjustment, we can assume that for local allocas, but
not for stack parameters, the return address, or any other fixed stack
object (which has a negative offset and therefore lies prior to the
adjusted SP).

Fixes PR26662.

http://reviews.llvm.org/D18471

Files:
  include/llvm/CodeGen/MachineFrameInfo.h
  lib/CodeGen/MachineFunction.cpp
  test/CodeGen/X86/stack-align.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18471.51630.patch
Type: text/x-patch
Size: 5229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160325/6ebbcc90/attachment.bin>


More information about the llvm-commits mailing list