[PATCH] D152832: [AMDGPU] Fix register class for a subreg in GCNRewritePartialRegUses.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 14:06:09 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/GCNRewritePartialRegUses.cpp:241
SubRegRC = TRI->getSubRegisterClass(RC, OldSubReg);
if (!SubRegRC)
----------------
If you do TRI->getMatchingSuperRegClass(RC, TRI->getSubRegisterClass(RC, OldSubReg), OldSubReg) does it work?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152832/new/
https://reviews.llvm.org/D152832
More information about the llvm-commits
mailing list