[llvm] AMDGPU: Mark DS instructions as fixed size (PR #156388)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 1 19:31:27 PDT 2025
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/156388
None
>From d0669965b622068170f6b4e8c6e0162d3d9d1e18 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon, 1 Sep 2025 22:30:11 +0900
Subject: [PATCH] AMDGPU: Mark DS instructions as fixed size
---
llvm/lib/Target/AMDGPU/DSInstructions.td | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/lib/Target/AMDGPU/DSInstructions.td b/llvm/lib/Target/AMDGPU/DSInstructions.td
index 3703133126b0f..7a22ae0c401e2 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