[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 04:51:53 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:331
+ const MachineRegisterInfo &MRI = MF.getRegInfo();
+ for (unsigned i = 0; i < 4; ++i) {
+ Register SubReg = getSubReg(ScratchRSrcReg, getSubRegFromChannel(i));
----------------
This should go in the verifier instead
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