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

via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 16:28:31 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Michael Buch (Michael137)

<details>
<summary>Changes</summary>

Caused build-bot failures on various platforms.

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


1 Files Affected:

- (modified) clang/test/Profile/debug-info-instr_profile_switch.cpp (+1-1) 


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

``````````

</details>


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


More information about the cfe-commits mailing list