[PATCH] D49412: Enrich inline messages

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 29 21:59:50 PDT 2018


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

Minor change: got got rid of multiple string operators += in //inlineCostStr()// by reusing the output stream template for printing InlineCost.


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.157911.patch
Type: text/x-patch
Size: 42661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180730/3f578c2b/attachment-0001.bin>


More information about the llvm-commits mailing list