Skip to content

AMDGPU: Copy TSFlags from Pseudo to DS_Real #84977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2024
Merged

AMDGPU: Copy TSFlags from Pseudo to DS_Real #84977

merged 1 commit into from
Mar 12, 2024

Conversation

changpeng
Copy link
Contributor

We need TSFalgs from pseudo to real.

  We need TSFalgs from pseudo to real, to make the changes in *_CNT and
other TSFalgs fields in pseudo reflected in real.
@llvmbot
Copy link
Member

llvmbot commented Mar 12, 2024

@llvm/pr-subscribers-backend-amdgpu

Author: Changpeng Fang (changpeng)

Changes

We need TSFalgs from pseudo to real.


Full diff: https://github.com/llvm/llvm-project/pull/84977.diff

1 Files Affected:

  • (modified) llvm/lib/Target/AMDGPU/DSInstructions.td (+1)
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;

@changpeng changpeng requested a review from rampitec March 12, 2024 20:18
@changpeng changpeng merged commit 498b7d2 into llvm:main Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants