pcc wrote:

> > The frontend is expected to add unlikely annotations and we don't want this 
> > function to override them.
> 
> To the function itself? I don't see how the frontend could add unlikely 
> annotations to a synthetic branch constructed by this pass.

Ah, this is the case where the intrinsic isn't used by a conditional branch. 
Since that case is not expected to occur frequently in practice, it's fine to 
put anything we want on this branch.

https://github.com/llvm/llvm-project/pull/170752
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to