[llvm] bf631c6 - AMDGPU: Copy SubtargetPredicate from pseudo for DSDIR_Real (#84057)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 13:49:38 PST 2024
Author: Changpeng Fang
Date: 2024-03-05T13:49:34-08:00
New Revision: bf631c63d01057321c070520a56a150ede32e47d
URL: https://github.com/llvm/llvm-project/commit/bf631c63d01057321c070520a56a150ede32e47d
DIFF: https://github.com/llvm/llvm-project/commit/bf631c63d01057321c070520a56a150ede32e47d.diff
LOG: AMDGPU: Copy SubtargetPredicate from pseudo for DSDIR_Real (#84057)
Added:
Modified:
llvm/lib/Target/AMDGPU/DSDIRInstructions.td
Removed:
################################################################################
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;
}
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list