[llvm] Fix failing test gcov_ctr_ref_init.ll (PR #114428)

Zaara Syeda via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 09:46:57 PDT 2024


https://github.com/syzaara created https://github.com/llvm/llvm-project/pull/114428

Test failing after merge of PR:
Enable aggressive constant merge in GlobalMerge for AIX

>From 1e32631b50ea414ad8ecf0c2f5d268ffecc13d8c Mon Sep 17 00:00:00 2001
From: Zaara Syeda <syzaara at ca.ibm.com>
Date: Thu, 31 Oct 2024 12:45:49 -0400
Subject: [PATCH] Fix failing test gcov_ctr_ref_init.ll

Test failing after merge of PR:
Enable aggressive constant merge in GlobalMerge for AIX
---
 llvm/test/CodeGen/PowerPC/gcov_ctr_ref_init.ll | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/test/CodeGen/PowerPC/gcov_ctr_ref_init.ll b/llvm/test/CodeGen/PowerPC/gcov_ctr_ref_init.ll
index 4710d5c14e5b19..1e819652fad473 100644
--- a/llvm/test/CodeGen/PowerPC/gcov_ctr_ref_init.ll
+++ b/llvm/test/CodeGen/PowerPC/gcov_ctr_ref_init.ll
@@ -20,11 +20,12 @@ target triple = "powerpc-ibm-aix"
 ; CHECK-NEXT: __llvm_gcov_ctr:
 ; CHECK-NEXT:     .space  16
 ; CHECK-NEXT: __llvm_gcov_ctr.1:
-; CHECK-NEXT:     .extern .llvm_gcda_start_file[PR]
+; CHECK:          .extern .llvm_gcda_start_file[PR]
 ; CHECK-NEXT:     .extern .llvm_gcda_emit_function[PR]
 ; CHECK-NEXT:     .extern .llvm_gcda_emit_arcs[PR]
 ; CHECK-NEXT:     .extern .llvm_gcda_summary_info[PR]
 ; CHECK-NEXT:     .extern .llvm_gcda_end_file[PR]
+; CHECK-NEXT:     .csect __llvm_gcov_ctr_section[RW],3
 ; CHECK-RW-NEXT:    .ref __llvm_covinit[RW]
 ; CHECK-RO-NEXT:    .ref __llvm_covinit[RO]
 



More information about the llvm-commits mailing list