[llvm] [AMDGPU][True16] Legalize S16 for G_STORE/G_LOAD in GlobalISel when True16 is enabled (PR #176963)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 05:47:52 PDT 2026
================
@@ -544,7 +544,7 @@ static bool loadStoreBitcastWorkaround(const LLT Ty) {
static bool isLoadStoreLegal(const GCNSubtarget &ST, const LegalityQuery &Query) {
const LLT Ty = Query.Types[0];
- return isRegisterType(ST, Ty) && isLoadStoreSizeLegal(ST, Query) &&
+ return isRegisterClassType(ST, Ty) && isLoadStoreSizeLegal(ST, Query) &&
----------------
petar-avramovic wrote:
why is this needed?
https://github.com/llvm/llvm-project/pull/176963
More information about the llvm-commits
mailing list