diff options
author | Changpeng Fang <changpeng.fang@amd.com> | 2024-03-05 13:49:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 13:49:34 -0800 |
commit | bf631c63d01057321c070520a56a150ede32e47d (patch) | |
tree | ee0f7c1c67ccfd0f55e2b34b02b8ff2e636ff983 | |
parent | 50d848d0761e052e203136f3de9a332bd619595a (diff) | |
download | llvm-bf631c63d01057321c070520a56a150ede32e47d.zip llvm-bf631c63d01057321c070520a56a150ede32e47d.tar.gz llvm-bf631c63d01057321c070520a56a150ede32e47d.tar.bz2 |
AMDGPU: Copy SubtargetPredicate from pseudo for DSDIR_Real (#84057)
-rw-r--r-- | llvm/lib/Target/AMDGPU/DSDIRInstructions.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/DSDIRInstructions.td b/llvm/lib/Target/AMDGPU/DSDIRInstructions.td index 3ef765f..f4f02d2 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; } //===----------------------------------------------------------------------===// |