Skip to content

AMDGPU: Copy SubtargetPredicate from pseudo for DSDIR_Real #84057

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 5, 2024
Merged

AMDGPU: Copy SubtargetPredicate from pseudo for DSDIR_Real #84057

merged 1 commit into from
Mar 5, 2024

Conversation

changpeng
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Mar 5, 2024

@llvm/pr-subscribers-backend-amdgpu

Author: Changpeng Fang (changpeng)

Changes

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

1 Files Affected:

  • (modified) llvm/lib/Target/AMDGPU/DSDIRInstructions.td (+3)
diff --git a/llvm/lib/Target/AMDGPU/DSDIRInstructions.td b/llvm/lib/Target/AMDGPU/DSDIRInstructions.td
index 3ef765f93395eb..f4f02d2cebfd98 100644
--- a/llvm/lib/Target/AMDGPU/DSDIRInstructions.td
+++ b/llvm/lib/Target/AMDGPU/DSDIRInstructions.td
@@ -115,6 +115,9 @@ class DSDIR_Real<DSDIR_Pseudo lds, dag ins, string asm, int subtarget> :
   SIMCInstr <lds.Mnemonic, subtarget> {
   let isPseudo = 0;
   let isCodeGenOnly = 0;
+
+  // copy SubtargetPredicate from pseudo.
+  let SubtargetPredicate = lds.SubtargetPredicate;
 }
 
 //===----------------------------------------------------------------------===//

@changpeng changpeng requested review from jayfoad and kzhuravl March 5, 2024 19:02
@changpeng changpeng merged commit bf631c6 into llvm:main Mar 5, 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