[PATCH] D85373: [llvm][MLInliner] Don't log 'mandatory' events

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 16:18:35 PDT 2020


mtrofin created this revision.
mtrofin added reviewers: davidxl, yundiqian, ebrevdo.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
mtrofin requested review of this revision.

We don't want mandatory events in the training log. We do want to handle
them, to keep the native size accounting accurate, but that's all.

Fixed the code, also expanded the test to capture this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85373

Files:
  llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
  llvm/test/Transforms/Inline/ML/bounds-checks-rewards.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85373.283437.patch
Type: text/x-patch
Size: 6202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200805/25eb3161/attachment.bin>


More information about the llvm-commits mailing list