Skip to content

Commit 12144a1

Browse files
committed
AMDGPU: Fix broken test checks
1 parent 562ee7c commit 12144a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ define amdgpu_kernel void @fast_add_fmuladd_fmul_multi_use_fmuladd_commute() #0
201201

202202
; GCN-SLOWFMA-DAG: v_mul_f32_e32 v{{[0-9]+}}, [[X]], [[Y]]
203203
; GCN-SLOWFMA: v_add_f32_e32
204-
; GCN-SLOWFMA: v_sub_f32_e32 [[MAD:v[0-9]+]]
204+
; GCN-SLOWFMA: v_sub_f32_e32 [[SUB:v[0-9]+]]
205205

206206
; GCN: buffer_store_dword [[MUL]]
207-
; GCN: buffer_store_dword [[MAD]]
207+
; GCN: buffer_store_dword [[SUB]]
208208
define amdgpu_kernel void @fast_sub_fmuladd_fmul_multi_use_mul() #0 {
209209
%x = load volatile float, float addrspace(1)* undef
210210
%y = load volatile float, float addrspace(1)* undef
@@ -213,9 +213,9 @@ define amdgpu_kernel void @fast_sub_fmuladd_fmul_multi_use_mul() #0 {
213213
%v = load volatile float, float addrspace(1)* undef
214214
%mul.u.v = fmul fast float %u, %v
215215
%fma = call fast float @llvm.fmuladd.f32(float %x, float %y, float %mul.u.v)
216-
%add = fsub fast float %fma, %z
216+
%sub = fsub fast float %fma, %z
217217
store volatile float %mul.u.v, float addrspace(1)* undef
218-
store volatile float %add, float addrspace(1)* undef
218+
store volatile float %sub, float addrspace(1)* undef
219219
ret void
220220
}
221221

0 commit comments

Comments
 (0)