[PATCH] D49412: Enrich inline messages

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 27 05:09:52 PDT 2018


yrouban updated this revision to Diff 157666.
yrouban added a comment.

1. formatted
2. moved InlineResult from Cloning.h to InlineCost.h
3. changed InlineCost printing to //(cost=X, threshold=Y)// or //(cost=never): message// or //(cost=always): message//. Had to fix many test checks.


https://reviews.llvm.org/D49412

Files:
  include/llvm/Analysis/InlineCost.h
  include/llvm/IR/DiagnosticInfo.h
  include/llvm/Transforms/Utils/Cloning.h
  lib/Analysis/InlineCost.cpp
  lib/Target/AMDGPU/AMDGPUInline.cpp
  lib/Transforms/IPO/AlwaysInliner.cpp
  lib/Transforms/IPO/Inliner.cpp
  lib/Transforms/Utils/InlineFunction.cpp
  test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll
  test/LTO/Resolution/X86/diagnostic-handler-remarks.ll
  test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
  test/LTO/X86/diagnostic-handler-remarks.ll
  test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll
  test/ThinLTO/X86/diagnostic-handler-remarks.ll
  test/Transforms/Inline/ARM/inline-fp.ll
  test/Transforms/Inline/optimization-remarks-hotness-threshold.ll
  test/Transforms/Inline/optimization-remarks-passed-yaml.ll
  test/Transforms/Inline/optimization-remarks-with-hotness.ll
  test/Transforms/Inline/optimization-remarks.ll
  test/tools/gold/X86/opt-remarks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49412.157666.patch
Type: text/x-patch
Size: 42703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180727/7f46edfd/attachment.bin>


More information about the llvm-commits mailing list