aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Nash <joseph.nash@amd.com>2024-06-19 09:58:49 -0400
committerGitHub <noreply@github.com>2024-06-19 09:58:49 -0400
commit84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1 (patch)
tree22c74edd34d06ad16e17f5c02032c19c806d8881
parent4b0c078a13c614032236dacfa7331219d0c9ca23 (diff)
downloadllvm-84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1.zip
llvm-84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1.tar.gz
llvm-84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1.tar.bz2
[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
-rw-r--r--llvm/lib/Target/AMDGPU/VOP3Instructions.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/VOP3Instructions.td b/llvm/lib/Target/AMDGPU/VOP3Instructions.td
index 3d93764..0f9e79b 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;
}
}