From 21fa4b7c08c8ec4fde21fbe317ead791c225d828 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 2 Sep 2025 16:48:14 +0900 Subject: [PATCH] AMDGPU: Fix true16 d16 entry table for DS pseudos This should be trying to use the _gfx9 variants of DS pseudos, not the base form with m0 uses. --- llvm/lib/Target/AMDGPU/DSInstructions.td | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/AMDGPU/DSInstructions.td b/llvm/lib/Target/AMDGPU/DSInstructions.td index 2ff9dfe8a7014..e6a07ebe1cafb 100644 --- a/llvm/lib/Target/AMDGPU/DSInstructions.td +++ b/llvm/lib/Target/AMDGPU/DSInstructions.td @@ -127,11 +127,12 @@ multiclass DS_1A1D_NORET_mc { } } -multiclass DS_1A1D_NORET_t16 +multiclass DS_1A1D_NORET_t16 : DS_1A1D_NORET_mc { let has_m0_read = 0 in { let True16Predicate = UseRealTrue16Insts in { - def "_t16" : DS_1A1D_NORET, True16D16Table; + def "_t16" : DS_1A1D_NORET, + True16D16Table; } } }