[llvm-branch-commits] [llvm] [AMDGPU] Serialize WWM_REG vreg flag (PR #110229)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Oct 8 23:48:28 PDT 2024
================
@@ -1716,6 +1716,19 @@ bool GCNTargetMachine::parseMachineFunctionInfo(
MFI->reserveWWMRegister(ParsedReg);
}
+ auto setRegisterFlags = [&](const VRegInfo &Info) {
+ for (uint8_t Flag : Info.Flags) {
+ MFI->setFlag(Info.VReg, Flag);
+ }
----------------
arsenm wrote:
Might as well just inline this and duplicate the code, the loop is trivial enough
https://github.com/llvm/llvm-project/pull/110229
More information about the llvm-branch-commits
mailing list