[PATCH] D73420: [llvm] Ensure InlineCost-related fields are initialized

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 10:11:57 PST 2020


davidxl added inline comments.


================
Comment at: llvm/include/llvm/Analysis/InlineCost.h:163
   /// The default threshold to start with for a callee.
-  int DefaultThreshold;
 
----------------
why is 0 a meaningful default value to start with?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73420





More information about the llvm-commits mailing list