[llvm] 12144a1 - AMDGPU: Fix broken test checks
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 24 08:25:54 PDT 2022
Author: Matt Arsenault
Date: 2022-07-24T11:25:49-04:00
New Revision: 12144a12da9e776a5947fedd539f3cc6cf822505
URL: https://github.com/llvm/llvm-project/commit/12144a12da9e776a5947fedd539f3cc6cf822505
DIFF: https://github.com/llvm/llvm-project/commit/12144a12da9e776a5947fedd539f3cc6cf822505.diff
LOG: AMDGPU: Fix broken test checks
Added:
Modified:
llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll b/llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
index 6db50bcfa62c2..0c798097d956e 100644
--- a/llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
+++ b/llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
@@ -201,10 +201,10 @@ define amdgpu_kernel void @fast_add_fmuladd_fmul_multi_use_fmuladd_commute() #0
; GCN-SLOWFMA-DAG: v_mul_f32_e32 v{{[0-9]+}}, [[X]], [[Y]]
; GCN-SLOWFMA: v_add_f32_e32
-; GCN-SLOWFMA: v_sub_f32_e32 [[MAD:v[0-9]+]]
+; GCN-SLOWFMA: v_sub_f32_e32 [[SUB:v[0-9]+]]
; GCN: buffer_store_dword [[MUL]]
-; GCN: buffer_store_dword [[MAD]]
+; GCN: buffer_store_dword [[SUB]]
define amdgpu_kernel void @fast_sub_fmuladd_fmul_multi_use_mul() #0 {
%x = load volatile float, float addrspace(1)* undef
%y = load volatile float, float addrspace(1)* undef
@@ -213,9 +213,9 @@ define amdgpu_kernel void @fast_sub_fmuladd_fmul_multi_use_mul() #0 {
%v = load volatile float, float addrspace(1)* undef
%mul.u.v = fmul fast float %u, %v
%fma = call fast float @llvm.fmuladd.f32(float %x, float %y, float %mul.u.v)
- %add = fsub fast float %fma, %z
+ %sub = fsub fast float %fma, %z
store volatile float %mul.u.v, float addrspace(1)* undef
- store volatile float %add, float addrspace(1)* undef
+ store volatile float %sub, float addrspace(1)* undef
ret void
}
More information about the llvm-commits
mailing list