[llvm] f9c545e - [AMDGPU] Fix test_fmaak_otherimm_src0_f64 test
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 08:38:06 PST 2022
Author: Jay Foad
Date: 2022-03-01T16:35:19Z
New Revision: f9c545e1e2250e8a428730416a7e90f0a0ebe2ea
URL: https://github.com/llvm/llvm-project/commit/f9c545e1e2250e8a428730416a7e90f0a0ebe2ea
DIFF: https://github.com/llvm/llvm-project/commit/f9c545e1e2250e8a428730416a7e90f0a0ebe2ea.diff
LOG: [AMDGPU] Fix test_fmaak_otherimm_src0_f64 test
Judging by the name, and comparing with the f32 version, this was
supposed to be testing that FMAC with a non-inlinable constant
operand did not get converted to FMA.
Added:
Modified:
llvm/test/CodeGen/AMDGPU/twoaddr-fma-f64.mir
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/twoaddr-fma-f64.mir b/llvm/test/CodeGen/AMDGPU/twoaddr-fma-f64.mir
index ad24bd02bacd5..0d1dcd3060a0a 100644
--- a/llvm/test/CodeGen/AMDGPU/twoaddr-fma-f64.mir
+++ b/llvm/test/CodeGen/AMDGPU/twoaddr-fma-f64.mir
@@ -92,7 +92,7 @@ body: |
...
# GCN-LABEL: name: test_fmaak_otherimm_src0_f64
-# GCN: V_FMA_F64_e64 0, 4611686018427387904, 0, %0, 0, %1:vreg_64_align2, 0, 0, implicit $mode, implicit $exec
+# GCN: V_FMAC_F64_e32 4636737291354636288, %0, %2, implicit $mode, implicit $exec
---
name: test_fmaak_otherimm_src0_f64
@@ -104,7 +104,7 @@ body: |
bb.0:
%0 = V_MOV_B64_PSEUDO 4607182418800017408, implicit $exec
- %2 = V_FMAC_F64_e32 4611686018427387904, %0, %1, implicit $mode, implicit $exec
+ %2 = V_FMAC_F64_e32 4636737291354636288, %0, %1, implicit $mode, implicit $exec
...
More information about the llvm-commits
mailing list