[clang] [clang][PGO][test] Relax FileCheck patterns in debug-info-instr_profile_switch.cpp (PR #90916)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 16:27:56 PDT 2024


https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/90916

Caused build-bot failures on various platforms.

>From 062311676d54dadeae4f463fcf5dcc9ef8d1d971 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Fri, 3 May 2024 00:25:24 +0100
Subject: [PATCH] [clang][PGO][test] Relax FileCheck patterns in
 debug-info-instr_profile_switch.cpp

Caused build-bot failures on various platforms.
---
 clang/test/Profile/debug-info-instr_profile_switch.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/Profile/debug-info-instr_profile_switch.cpp b/clang/test/Profile/debug-info-instr_profile_switch.cpp
index 205195a0e1225c..a78a1812a5a292 100644
--- a/clang/test/Profile/debug-info-instr_profile_switch.cpp
+++ b/clang/test/Profile/debug-info-instr_profile_switch.cpp
@@ -12,7 +12,7 @@ int main(int argc, const char *argv[]) {
   }
 }
 
-// CHECK: define {{.*}} @main(i32 noundef %argc, ptr noundef %argv) #0 !dbg ![[MAIN_SCOPE:[0-9]+]]
+// CHECK: define {{.*}} @main({{.*}}) #0 !dbg ![[MAIN_SCOPE:[0-9]+]]
 
 // CHECK:        switch i32 {{.*}}, label {{.*}} [
 // CHECK-NEXT:     i32 0, label %[[CASE1_LBL:[a-z0-9.]+]]



More information about the cfe-commits mailing list