[PATCH] D79610: [AMDGPU] Allow spilling FP to memory

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 09:05:26 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:1009
+      // 4: If all else fails, spill the FP to memory.
+      MFI->SpillFPToMem = true;
+      int SpillFI = FrameInfo.CreateSpillStackObject(4, Align(4));
----------------
Shouldn't need to explicitly track this. This should be implied from the stack ID


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79610





More information about the llvm-commits mailing list