[llvm] [AMDGPU] Remove predicate on real packed fp32 instructions (PR #65589)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 02:43:12 PDT 2023
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/65589:
It is copied from the pseudo anyway.
>From af2a3262f5f6bdefa39aaf1f0e30b441e6fd9cf8 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: Thu, 7 Sep 2023 02:17:25 -0700
Subject: [PATCH] [AMDGPU] Remove predicate on real packed fp32 instructions
It is copied from the pseudo anyway.
---
llvm/lib/Target/AMDGPU/VOP3PInstructions.td | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
index 8844b36c6222f26..05e68f46b32605d 100644
--- a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+++ b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
@@ -1230,12 +1230,10 @@ defm V_SMFMAC_F32_32X32X32_BF8_FP8 : VOP3P_Real_SMFMAC <0x7d, "v_smfmac_f32_32x3
defm V_SMFMAC_F32_32X32X32_FP8_BF8 : VOP3P_Real_SMFMAC <0x7e, "v_smfmac_f32_32x32x32fp8bf8">;
defm V_SMFMAC_F32_32X32X32_FP8_FP8 : VOP3P_Real_SMFMAC <0x7f, "v_smfmac_f32_32x32x32fp8fp8">;
-let SubtargetPredicate = HasPackedFP32Ops in {
- defm V_PK_FMA_F32 : VOP3P_Real_vi <0x30>;
- defm V_PK_MUL_F32 : VOP3P_Real_vi <0x31>;
- defm V_PK_ADD_F32 : VOP3P_Real_vi <0x32>;
- defm V_PK_MOV_B32 : VOP3P_Real_vi <0x33>;
-} // End SubtargetPredicate = HasPackedFP32Ops
+defm V_PK_FMA_F32 : VOP3P_Real_vi <0x30>;
+defm V_PK_MUL_F32 : VOP3P_Real_vi <0x31>;
+defm V_PK_ADD_F32 : VOP3P_Real_vi <0x32>;
+defm V_PK_MOV_B32 : VOP3P_Real_vi <0x33>;
//===----------------------------------------------------------------------===//
// GFX10.
More information about the llvm-commits
mailing list