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

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 09:20:02 PDT 2020


davidxl 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}
----------------
where does 'branch_weights' profdata go? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80987





More information about the llvm-commits mailing list