[PATCH] D80987: [Instruction] Remove setProfWeight()

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 22:57:08 PDT 2020


yrouban marked an inline comment as done.
yrouban added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/cast-call-combine-prof.ll:35
 
-; CHECK: ![[$PROF]] = !{!"branch_weights", i32 2000}
+; CHECK: ![[$PROF]] = !{!"VP", i32 0, i64 2000, i64 -3913987384944532146, i64 2000}
 !0 = !{!"VP", i32 0, i64 2000, i64 -3913987384944532146, i64 2000}
----------------
davidxl wrote:
> where does 'branch_weights' profdata go? 
"VP" is preserved as pointed out in the summary.


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

https://reviews.llvm.org/D80987





More information about the llvm-commits mailing list