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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | ||
---|---|---|
295–299 | I'm curious how you ended up finding this? |
Comment Actions
Thanks!
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | ||
---|---|---|
295–299 | Without this change I ended up with several unit test failures: LLVM :: CodeGen/AMDGPU/control-flow-fastregalloc.ll LLVM :: CodeGen/AMDGPU/si-spill-sgpr-stack.ll LLVM :: CodeGen/AMDGPU/spill-m0.ll LLVM :: CodeGen/AMDGPU/spill-wide-sgpr.ll |
I'm curious how you ended up finding this?