[llvm] 372a86b - AMDGPU: Mark DS instructions as fixed size (#156388)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 02:29:38 PDT 2025


Author: Matt Arsenault
Date: 2025-09-02T18:29:34+09:00
New Revision: 372a86b4843481aef1da1308ee754d4cfcc75ce1

URL: https://github.com/llvm/llvm-project/commit/372a86b4843481aef1da1308ee754d4cfcc75ce1
DIFF: https://github.com/llvm/llvm-project/commit/372a86b4843481aef1da1308ee754d4cfcc75ce1.diff

LOG: AMDGPU: Mark DS instructions as fixed size (#156388)

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/DSInstructions.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/DSInstructions.td b/llvm/lib/Target/AMDGPU/DSInstructions.td
index 611695bd26d3a..912a25b0acece 100644
--- a/llvm/lib/Target/AMDGPU/DSInstructions.td
+++ b/llvm/lib/Target/AMDGPU/DSInstructions.td
@@ -19,6 +19,7 @@ class DS_Pseudo <string opName, dag outs, dag ins, string asmOps, list<dag> patt
   // Most instruction load and store data, so set this as the default.
   let mayLoad = 1;
   let mayStore = 1;
+  let FixedSize = true;
 
   let hasSideEffects = 0;
   let SchedRW = [WriteLDS];


        


More information about the llvm-commits mailing list