[PATCH] D59940: [SampleProfile] Repeat indirect call promotion only when the target is actually hot.

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 16:14:01 PDT 2019


wmi accepted this revision.
wmi added a comment.
This revision is now accepted and ready to land.

Thanks! The change makes a lot sense to me.



================
Comment at: llvm/test/Transforms/SampleProfile/cold-indirect-call.ll:1
+; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/cold-indirect-call.prof -S | FileCheck %s
+
----------------
Could you add the check for new pass manager too?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59940





More information about the llvm-commits mailing list