================
@@ -706,7 +706,9 @@ RegBankLegalizeRules::RegBankLegalizeRules(const
GCNSubtarget &_ST,
.Any({{DivBRC, BRC}, {{}, {}, ApplyAllVgpr}});
addRulesForGOpcs({G_MERGE_VALUES, G_CONCAT_VECTORS})
+ .Any({{UniBRC, S16}, {{}, {}, VerifyAllSgpr}})
.Any({{UniBRC, BRC}, {{}, {}, VerifyAllSgpr}})
+ .Any({{DivBRC, S16}, {{}, {}, ApplyAllVgpr}})
----------------
petar-avramovic wrote:
try to add vgpr variant of some of the existing tests, for example
s_andn2_v3i16, also move G_MERGE_VALUES to same group as G_BUILD_VECTOR, these
rules do not apply to G_CONCAT_VECTORS
https://github.com/llvm/llvm-project/pull/200082
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits