[PATCH] D78669: PowerPC: Add emergency stack spill slots for SPE

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 08:07:09 PDT 2020


sfertile added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCFrameLowering.cpp:2043
 
   // The scavenger might be invoked if the frame offset does not fit into
   // the 16-bit immediate. We don't know the complete frame size here
----------------
Should probably extend this sentence to include `(or 8-bit immediate for powerpcspe)`.


================
Comment at: llvm/test/CodeGen/PowerPC/spe-spills.ll:7
+
+ at d = local_unnamed_addr global double* null, align 4
+ at c = local_unnamed_addr global i32 0, align 4
----------------
Is it possible to handwrite a simple test to expose the issue? If its too difficult we can stick with this test but I think something simpler which showcases the problem would be ideal.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78669/new/

https://reviews.llvm.org/D78669





More information about the llvm-commits mailing list