[llvm] 264150a - [AMDGPU] Removed superfluous predicate. NFC.

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 02:36:59 PDT 2023


Author: Stanislav Mekhanoshin
Date: 2023-08-15T02:25:00-07:00
New Revision: 264150aec393f27ac3e67bebdba0ffd7f5517cc9

URL: https://github.com/llvm/llvm-project/commit/264150aec393f27ac3e67bebdba0ffd7f5517cc9
DIFF: https://github.com/llvm/llvm-project/commit/264150aec393f27ac3e67bebdba0ffd7f5517cc9.diff

LOG: [AMDGPU] Removed superfluous predicate. NFC.

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/VOP3PInstructions.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
index 24bd2addc6652e..67fdcb87d5791f 100644
--- a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+++ b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td
@@ -737,7 +737,7 @@ def MAIInstInfoTable : GenericTable {
   let PrimaryKeyName = "getMAIInstInfoHelper";
 }
 
-let SubtargetPredicate = HasPackedFP32Ops, isCommutable = 1, isReMaterializable = 1 in {
+let isCommutable = 1, isReMaterializable = 1 in {
   let SubtargetPredicate = HasPackedFP32Ops in {
     defm V_PK_FMA_F32 : VOP3PInst<"v_pk_fma_f32", VOP3P_Profile<VOP_V2F32_V2F32_V2F32_V2F32, VOP3_PACKED>, any_fma>;
     defm V_PK_MUL_F32 : VOP3PInst<"v_pk_mul_f32", VOP3P_Profile<VOP_V2F32_V2F32_V2F32, VOP3_PACKED>, any_fmul>;


        


More information about the llvm-commits mailing list