[compiler-rt] aa4c1e9 - Revert "[PGO] Fix `instrprof-api.c` on Windows (#77508)"

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 18:53:20 PST 2024


Author: Vitaly Buka
Date: 2024-01-09T18:34:32-08:00
New Revision: aa4c1e90b6f25a5c6312927e0574f9d07fa25582

URL: https://github.com/llvm/llvm-project/commit/aa4c1e90b6f25a5c6312927e0574f9d07fa25582
DIFF: https://github.com/llvm/llvm-project/commit/aa4c1e90b6f25a5c6312927e0574f9d07fa25582.diff

LOG: Revert "[PGO] Fix `instrprof-api.c` on Windows (#77508)"

Issue #77546

This reverts commit b6d1577071017f1ba3f12bfe30c1746ffaf5d98d.

Added: 
    

Modified: 
    compiler-rt/test/profile/instrprof-api.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/instrprof-api.c b/compiler-rt/test/profile/instrprof-api.c
index b6f75426b2a717..1381300c1ad18a 100644
--- a/compiler-rt/test/profile/instrprof-api.c
+++ b/compiler-rt/test/profile/instrprof-api.c
@@ -29,8 +29,8 @@ int foo() {
 int main() {
   int z = foo() + 3;
   __llvm_profile_set_filename("rawprof.profraw");
-  // PROFGEN: call void @__llvm_profile_set_filename(ptr noundef @{{.*}})
-  // PROFUSE-NOT: call void @__llvm_profile_set_filename(ptr noundef @{{.*}})
+  // PROFGEN: call void @__llvm_profile_set_filename(ptr noundef @.str)
+  // PROFUSE-NOT: call void @__llvm_profile_set_filename(ptr noundef @.str)
   if (__llvm_profile_dump())
     return 2;
   // PROFGEN: %call1 = call {{(signext )*}}i32 @__llvm_profile_dump()


        


More information about the llvm-commits mailing list