[llvm-branch-commits] [llvm] [NFCI][AMDGPU] Use `GET_SUBTARGETINFO_MACRO` in `GCNSubtarget.h` (PR #177402)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jan 22 09:19:11 PST 2026
================
@@ -759,13 +500,11 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
// FLAT GLOBAL VOffset is signed
bool hasSignedGVSOffset() const { return HasGFX1250Insts; }
- bool enableSIScheduler() const { return EnableSIScheduler; }
-
bool loadStoreOptEnabled() const { return EnableLoadStoreOpt; }
- bool hasUserSGPRInit16Bug() const {
- return HasUserSGPRInit16Bug && isWave32();
- }
+ // bool hasUserSGPRInit16Bug() const {
----------------
arsenm wrote:
Just rename them and have the manual function? Or you could make the subtarget feature depend on the other
https://github.com/llvm/llvm-project/pull/177402
More information about the llvm-branch-commits
mailing list