[PATCH] D82071: [IR] Convert profile metadata in createCallMatchingInvoke()

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 07:02:42 PDT 2020


hans added a comment.

> Branch_weights are useful for call instructions as said in the LLVM LangRef (https://llvm.org/docs/BranchWeightMetadata.html).
>  Let us wait for @xur to comment.

That doc initially says branch weights are only used on terminators, although I see call instructions mentioned further down. It would be good to get it updated :-)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82071/new/

https://reviews.llvm.org/D82071





More information about the llvm-commits mailing list