diff --git a/llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fsub.ll b/llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fsub.ll index 845489721ebf4..8a42e05f5213f 100644 --- a/llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fsub.ll +++ b/llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fsub.ll @@ -2,8 +2,8 @@ ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=hawaii -atomic-expand %s | FileCheck -check-prefix=GCN %s ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -atomic-expand %s | FileCheck -check-prefix=GCN %s -define float @test_atomicrmw_fadd_f32_flat(float* %ptr, float %value) { -; GCN-LABEL: @test_atomicrmw_fadd_f32_flat( +define float @test_atomicrmw_fsub_f32_flat(float* %ptr, float %value) { +; GCN-LABEL: @test_atomicrmw_fsub_f32_flat( ; GCN-NEXT: [[TMP1:%.*]] = load float, float* [[PTR:%.*]], align 4 ; GCN-NEXT: br label [[ATOMICRMW_START:%.*]] ; GCN: atomicrmw.start: