[PATCH] D81821: [AMDGPU] Make overlaps with ScratchRSrcReg fatal errors
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 07:01:00 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:339
if (StackPtrReg) {
+ if (isSubRegister(ScratchRSrcReg, StackPtrReg))
+ report_fatal_error("scratch resource registers overlap stack pointer");
----------------
This is only really an improvement for hand written MIR, and should go in the verifier?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81821/new/
https://reviews.llvm.org/D81821
More information about the llvm-commits
mailing list