[llvm] AMDGPU/GlobalISel: RegBankLegalize rules for ps_live (PR #188101)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 24 01:05:21 PDT 2026
================
@@ -1657,7 +1657,7 @@ RegBankLegalizeRules::RegBankLegalizeRules(const GCNSubtarget &_ST,
.Any({{UniB512}, {{SgprB512}, {IntrId, SgprB512}}})
.Any({{DivB512}, {{VgprB512}, {IntrId, VgprB512}}});
- addRulesForIOpcs({amdgcn_live_mask}).Any({{S1}, {{Vcc}, {}}});
+ addRulesForIOpcs({amdgcn_live_mask, amdgcn_ps_live}).Any({{S1}, {{Vcc}, {}}});
----------------
petar-avramovic wrote:
Think that we should be explicit here and use Div(S1 instead of Any
https://github.com/llvm/llvm-project/pull/188101
More information about the llvm-commits
mailing list