[all-commits] [llvm/llvm-project] 87fb7a: [llvm][MLInliner] Don't log 'mandatory' events

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Aug 6 09:04:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 87fb7aa137eaf389359d14bb73de5b72ec5e9bdf
      https://github.com/llvm/llvm-project/commit/87fb7aa137eaf389359d14bb73de5b72ec5e9bdf
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

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

  Log Message:
  -----------
  [llvm][MLInliner] Don't log 'mandatory' events

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.

Differential Revision: https://reviews.llvm.org/D85373




More information about the All-commits mailing list