[PATCH] D32773: Update VP prof metadata during inlining.

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 16:49:22 PDT 2017


eraman added inline comments.


================
Comment at: lib/IR/Instruction.cpp:635
+  Vals.push_back(ProfileData->getOperand(0));
+  APInt APS(128, S);
+  if (ProfDataName->getString().equals("branch_weights"))
----------------
APInt(128, T) should also be hoisted here.


https://reviews.llvm.org/D32773





More information about the llvm-commits mailing list