[llvm] AMDGPU: Copy TSFlags from Pseudo to DS_Real (PR #84977)
Changpeng Fang via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 13:17:40 PDT 2024
https://github.com/changpeng created https://github.com/llvm/llvm-project/pull/84977
We need TSFalgs from pseudo to real.
>From 35ee223105a610110e25d6eeeeadd74f89f55079 Mon Sep 17 00:00:00 2001
From: Changpeng Fang <changpeng.fang at amd.com>
Date: Tue, 12 Mar 2024 13:12:22 -0700
Subject: [PATCH] AMDGPU: Copy TSFlags from Pseudo to DS_Real
We need TSFalgs from pseudo to real, to make the changes in *_CNT and
other TSFalgs fields in pseudo reflected in real.
---
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 cc763df5a4760b..87ace01a6d0e56 100644
--- a/llvm/lib/Target/AMDGPU/DSInstructions.td
+++ b/llvm/lib/Target/AMDGPU/DSInstructions.td
@@ -65,6 +65,7 @@ class DS_Real <DS_Pseudo ps, string opName = ps.Mnemonic> :
let SubtargetPredicate = ps.SubtargetPredicate;
let WaveSizePredicate = ps.WaveSizePredicate;
let OtherPredicates = ps.OtherPredicates;
+ let TSFlags = ps.TSFlags;
let SchedRW = ps.SchedRW;
let mayLoad = ps.mayLoad;
let mayStore = ps.mayStore;
More information about the llvm-commits
mailing list