[PATCH] D108815: [AMDGPU] Introduce RC flags for vector register classes
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 30 10:01:08 PDT 2021
rampitec added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.td:853
let isAllocatable = 0;
+ let IsVGPR = 1;
}
----------------
This is suspicious. I wonder why SIRegisterInfo::isVGPR() works. Probably because VS classes are unallocatable and it is called only after selection when we do not have unallocatable classes anymore.
Anyway, using this bit on a combined classes seems misleading. Maybe it shall be named 'HasVGPRs' instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108815/new/
https://reviews.llvm.org/D108815
More information about the llvm-commits
mailing list