Skip to content

Commit f9c545e

Browse files
committed
[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.
1 parent c601377 commit f9c545e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/AMDGPU/twoaddr-fma-f64.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ body: |
9292
...
9393

9494
# GCN-LABEL: name: test_fmaak_otherimm_src0_f64
95-
# GCN: V_FMA_F64_e64 0, 4611686018427387904, 0, %0, 0, %1:vreg_64_align2, 0, 0, implicit $mode, implicit $exec
95+
# GCN: V_FMAC_F64_e32 4636737291354636288, %0, %2, implicit $mode, implicit $exec
9696

9797
---
9898
name: test_fmaak_otherimm_src0_f64
@@ -104,7 +104,7 @@ body: |
104104
bb.0:
105105
106106
%0 = V_MOV_B64_PSEUDO 4607182418800017408, implicit $exec
107-
%2 = V_FMAC_F64_e32 4611686018427387904, %0, %1, implicit $mode, implicit $exec
107+
%2 = V_FMAC_F64_e32 4636737291354636288, %0, %1, implicit $mode, implicit $exec
108108
109109
...
110110

0 commit comments

Comments
 (0)