-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Fix failing test gcov_ctr_ref_init.ll #114428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Test failing after merge of PR: Enable aggressive constant merge in GlobalMerge for AIX
@llvm/pr-subscribers-backend-powerpc Author: Zaara Syeda (syzaara) ChangesTest failing after merge of PR: Full diff: https://github.com/llvm/llvm-project/pull/114428.diff 1 Files Affected:
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]
|
Fix test failing after merge of commit: ccddd13
Fix test failing after merge of commit: ccddd13
; The first .csect directive below is specifying the content of the csect. | ||
; The second .csect directive below is used to insert the .ref pseudo | ||
; instruction. | ||
; CHECK: .csect __llvm_gcov_ctr_section[RW],3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@syzaara:
The content of the csect is significant (and should be checked, not just skipped).
The change that added this test was responsible for creating the section so that references to the counters would, in turn, cause the initialization symbols to be kept.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Posted #117577 to address this
Fix test failing after merge of commit: ccddd13