[PATCH] D60062: Enforce StackID definition in PEI

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 05:46:09 PDT 2019


sdesmalen created this revision.
sdesmalen added reviewers: arsenm, thegameg, MatzeB.
Herald added subscribers: javed.absar, nhaehnle, wdng, jvesely.

There are various places in LLVM where the definition of StackID is not
properly honoured, for example in PEI where objects with a StackID > 0 are
allocated on the default stack (StackID0). This patch enforces that PEI
only considers allocating objects to StackID 0.


https://reviews.llvm.org/D60062

Files:
  include/llvm/CodeGen/MachineFrameInfo.h
  lib/CodeGen/MIRParser/MIRParser.cpp
  lib/CodeGen/MachineFrameInfo.cpp
  lib/CodeGen/PrologEpilogInserter.cpp
  lib/Target/AMDGPU/SIFrameLowering.cpp
  lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  test/CodeGen/AArch64/stack-id-pei-alloc.mir
  test/CodeGen/AArch64/stack-id-stackslot-scavenging.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60062.193068.patch
Type: text/x-patch
Size: 10940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190401/9a663e7b/attachment.bin>


More information about the llvm-commits mailing list