[llvm] 84c60bb - [AMDGPU] Add IsSingle to V_DIV_FMAS* for consistency. (#95983)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 06:58:52 PDT 2024


Author: Joe Nash
Date: 2024-06-19T09:58:49-04:00
New Revision: 84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1

URL: https://github.com/llvm/llvm-project/commit/84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1
DIFF: https://github.com/llvm/llvm-project/commit/84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1.diff

LOG: [AMDGPU] Add IsSingle to V_DIV_FMAS* for consistency. (#95983)

A _e64 suffix should not be printed since these instructions only have
one legal encoding length. The absence of the IsSingle flag is hidden by
how the string is printed, but fix it for consistency.
NFC

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/VOP3Instructions.td b/llvm/lib/Target/AMDGPU/VOP3Instructions.td
index 3d93764bd7ca1..0f9e79bc13953 100644
--- a/llvm/lib/Target/AMDGPU/VOP3Instructions.td
+++ b/llvm/lib/Target/AMDGPU/VOP3Instructions.td
@@ -13,9 +13,11 @@ def VOP_F32_F32_F32_F32_VCC : VOPProfile<[f32, f32, f32, f32]> {
   let Outs64 = (outs DstRC.RegClass:$vdst);
   let HasExtVOP3DPP = 0;
   let HasExtDPP = 0;
+  let IsSingle = 1;
 }
 def VOP_F64_F64_F64_F64_VCC : VOPProfile<[f64, f64, f64, f64]> {
   let Outs64 = (outs DstRC.RegClass:$vdst);
+  let IsSingle = 1;
 }
 }
 


        


More information about the llvm-commits mailing list