Skip to content

Commit 6ca9501

Browse files
committed
Relax test expectation for @__llvm_profile_runtime_user
After llvm/llvm-project#174174 it has profile info marking it cold.
1 parent 561364e commit 6ca9501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/codegen-llvm/instrument-coverage/testprog.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn main() {
109109

110110
// CHECK: declare void @llvm.instrprof.increment(ptr, i64, i32, i32) #[[LLVM_INSTRPROF_INCREMENT_ATTR:[0-9]+]]
111111

112-
// WIN: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() #[[LLVM_PROFILE_RUNTIME_USER_ATTR:[0-9]+]] comdat {
112+
// WIN: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() #[[LLVM_PROFILE_RUNTIME_USER_ATTR:[0-9]+]] comdat {{.*}}{
113113
// WIN-NEXT: %1 = load i32, ptr @__llvm_profile_runtime
114114
// WIN-NEXT: ret i32 %1
115115
// WIN-NEXT: }

0 commit comments

Comments
 (0)