[llvm] [profcheck] Add unknown branch weights to expanded cmpxchg loop. (PR #165841)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 5 06:11:07 PST 2025


================
@@ -336,3 +336,11 @@ define <2 x half> @atomicrmw_fminimum_2_x_half(ptr %ptr, <2 x half> %val) {
   %res = atomicrmw fminimum ptr %ptr, <2 x half> %val seq_cst
   ret <2 x half> %res
 }
+
+!0 = !{!"function_entry_count", i64 1000}
+;.
+; CHECK: attributes #[[ATTR0:[0-9]+]] = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
----------------
boomanaiden154 wrote:

I'm guessing something else was changed to infer the new attribute and your local `opt` binary was too old.

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


More information about the llvm-commits mailing list