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

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 09:47:32 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-powerpc

Author: Zaara Syeda (syzaara)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/114428.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/PowerPC/gcov_ctr_ref_init.ll (+2-1) 


``````````diff
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]
 

``````````

</details>


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


More information about the llvm-commits mailing list