[llvm] [Memprof] Fix linkage number for memprof test. (PR #97119)
Matthew Weingarten via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 15:11:19 PDT 2024
https://github.com/mattweingarten updated https://github.com/llvm/llvm-project/pull/97119
>From 783b8892cf159f00771f2fffad8a6bf954463d6d Mon Sep 17 00:00:00 2001
From: Matthew Weingarten <matt at weingarten.org>
Date: Fri, 28 Jun 2024 22:06:51 +0000
Subject: [PATCH] [Memprof] Update linkage number after regenerating test
---
llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll b/llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
index 3c4138fc4ca49..65717d12bd481 100644
--- a/llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
+++ b/llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
@@ -28,12 +28,12 @@ entry:
store i32 0, ptr %retval, align 4
store i32 %argc, ptr %argc.addr, align 4
store ptr %argv, ptr %argv.addr, align 8
- call void @_ZL3foov.__uniq.50354172613129440706982166615384819716() #4, !dbg !14
+ call void @_ZL3foov.__uniq.246575255519150625886541854978321354160() #4, !dbg !14
ret i32 0, !dbg !15
}
; Function Attrs: mustprogress noinline optnone uwtable
-define internal void @_ZL3foov.__uniq.50354172613129440706982166615384819716() #1 !dbg !16 {
+define internal void @_ZL3foov.__uniq.246575255519150625886541854978321354160() #1 !dbg !16 {
entry:
%a = alloca ptr, align 8
%call = call noalias noundef nonnull ptr @_Znam(i64 noundef 20) #5, !dbg !17
@@ -76,7 +76,7 @@ attributes #5 = { builtin allocsize(0) }
!13 = !{}
!14 = !DILocation(line: 8, column: 3, scope: !10)
!15 = !DILocation(line: 9, column: 3, scope: !10)
-!16 = distinct !DISubprogram(name: "foo", linkageName: "_ZL3foov.__uniq.50354172613129440706982166615384819716", scope: !11, file: !11, line: 3, type: !12, scopeLine: 3, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !0)
+!16 = distinct !DISubprogram(name: "foo", linkageName: "_ZL3foov.__uniq.246575255519150625886541854978321354160", scope: !11, file: !11, line: 3, type: !12, scopeLine: 3, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !0)
!17 = !DILocation(line: 4, column: 12, scope: !16)
!18 = !DILocation(line: 4, column: 8, scope: !16)
!19 = !DILocation(line: 5, column: 10, scope: !16)
More information about the llvm-commits
mailing list