[llvm] [AMDGPU] Add IsSingle to V_DIV_FMAS* for consistency. (PR #95983)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 18 13:22:14 PDT 2024
https://github.com/Sisyph created https://github.com/llvm/llvm-project/pull/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
>From b1fc9fd5b0348d2283f3b48863f78546a1ea4243 Mon Sep 17 00:00:00 2001
From: Joe Nash <joseph.nash at amd.com>
Date: Mon, 17 Jun 2024 11:34:56 -0400
Subject: [PATCH] [AMDGPU] Add IsSingle to V_DIV_FMAS* for consistency.
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
---
llvm/lib/Target/AMDGPU/VOP3Instructions.td | 2 ++
1 file changed, 2 insertions(+)
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