AMDGPU: Fix copy-pasted test name error
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 10 Dec 2019 16:21:51 +0000 (21:51 +0530)
committerMatt Arsenault <arsenm2@gmail.com>
Wed, 11 Dec 2019 14:14:47 +0000 (19:44 +0530)
llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fsub.ll

index 8454897..8a42e05 100644 (file)
@@ -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: