[llvm] 5c458ed - [gold] Fix tests after #76553 (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 00:31:20 PST 2024
Author: Nikita Popov
Date: 2024-01-02T09:30:50+01:00
New Revision: 5c458ed490a01dcc82f9d063732cac4207786fd5
URL: https://github.com/llvm/llvm-project/commit/5c458ed490a01dcc82f9d063732cac4207786fd5
DIFF: https://github.com/llvm/llvm-project/commit/5c458ed490a01dcc82f9d063732cac4207786fd5.diff
LOG: [gold] Fix tests after #76553 (NFC)
Added:
Modified:
llvm/test/tools/gold/X86/devirt_vcall_vis_export_dynamic.ll
llvm/test/tools/gold/X86/devirt_vcall_vis_public.ll
llvm/test/tools/gold/X86/opt-level.ll
llvm/test/tools/gold/X86/v1.16/devirt_vcall_vis_export_dynamic.ll
Removed:
################################################################################
diff --git a/llvm/test/tools/gold/X86/devirt_vcall_vis_export_dynamic.ll b/llvm/test/tools/gold/X86/devirt_vcall_vis_export_dynamic.ll
index 3d2badc18674a6..1976f8f539fd66 100644
--- a/llvm/test/tools/gold/X86/devirt_vcall_vis_export_dynamic.ll
+++ b/llvm/test/tools/gold/X86/devirt_vcall_vis_export_dynamic.ll
@@ -116,7 +116,7 @@ target triple = "x86_64-grtev4-linux-gnu"
;; Prevent the vtables from being dead code eliminated.
@llvm.used = appending global [3 x ptr] [ ptr @_ZTV1B, ptr @_ZTV1C, ptr @_ZTV1D]
-; CHECK-IR-LABEL: define dso_local i32 @_start
+; CHECK-IR-LABEL: define dso_local {{(noundef )?}}i32 @_start
define i32 @_start(ptr %obj, ptr %obj2, i32 %a) {
entry:
%vtable = load ptr, ptr %obj
diff --git a/llvm/test/tools/gold/X86/devirt_vcall_vis_public.ll b/llvm/test/tools/gold/X86/devirt_vcall_vis_public.ll
index bb94cd3e1889b8..4e84a21ebfdfeb 100644
--- a/llvm/test/tools/gold/X86/devirt_vcall_vis_public.ll
+++ b/llvm/test/tools/gold/X86/devirt_vcall_vis_public.ll
@@ -74,7 +74,7 @@ target triple = "x86_64-grtev4-linux-gnu"
; Prevent the vtables from being dead code eliminated.
@llvm.used = appending global [3 x ptr] [ ptr @_ZTV1B, ptr @_ZTV1C, ptr @_ZTV1D]
-; CHECK-IR-LABEL: define dso_local i32 @_start
+; CHECK-IR-LABEL: define dso_local {{(noundef )?}}i32 @_start
define i32 @_start(ptr %obj, ptr %obj2, i32 %a) {
entry:
%vtable = load ptr, ptr %obj
diff --git a/llvm/test/tools/gold/X86/opt-level.ll b/llvm/test/tools/gold/X86/opt-level.ll
index 1ec2ea5e660906..65304c03f7048b 100644
--- a/llvm/test/tools/gold/X86/opt-level.ll
+++ b/llvm/test/tools/gold/X86/opt-level.ll
@@ -24,7 +24,7 @@ define internal void @foo() {
}
; CHECK-O0: define internal i32 @bar(
-; CHECK-O1: define internal i32 @bar(
+; CHECK-O1: define internal noundef i32 @bar(
define internal i32 @bar(i1 %p) {
br i1 %p, label %t, label %f
diff --git a/llvm/test/tools/gold/X86/v1.16/devirt_vcall_vis_export_dynamic.ll b/llvm/test/tools/gold/X86/v1.16/devirt_vcall_vis_export_dynamic.ll
index f927af61d56f97..82880a2483fa2a 100644
--- a/llvm/test/tools/gold/X86/v1.16/devirt_vcall_vis_export_dynamic.ll
+++ b/llvm/test/tools/gold/X86/v1.16/devirt_vcall_vis_export_dynamic.ll
@@ -114,7 +114,7 @@ target triple = "x86_64-grtev4-linux-gnu"
;; Prevent the vtables from being dead code eliminated.
@llvm.used = appending global [3 x ptr] [ ptr @_ZTV1B, ptr @_ZTV1C, ptr @_ZTV1D]
-; CHECK-IR-LABEL: define dso_local i32 @_start
+; CHECK-IR-LABEL: define dso_local {{(noundef )?}}i32 @_start
define i32 @_start(ptr %obj, ptr %obj2, i32 %a) {
entry:
%vtable = load ptr, ptr %obj
More information about the llvm-commits
mailing list