[PATCH] D60062: Enforce StackID definition in PEI

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 11:49:49 PDT 2019


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIMachineFunctionInfo.cpp:295-299
+  // All other SPGRs must be allocated on the default stack, so reset
+  // the stack ID.
+  for (unsigned i = MFI.getObjectIndexBegin(), e = MFI.getObjectIndexEnd();
+       i != e; ++i)
+    MFI.setStackID(i, 0);
----------------
I'm curious how you ended up finding this?


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

https://reviews.llvm.org/D60062





More information about the llvm-commits mailing list