1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test
David Bolvansky b35f0af3c7 Enrich inline messages
Summary:
This patch improves Inliner to provide causes/reasons for negative inline decisions.
1. It adds one new message field to InlineCost to report causes for Always and Never instances. All Never and Always instantiations must provide a simple message.
2. Several functions that used to return the inlining results as boolean are changed to return InlineResult which carries the cause for negative decision.
3. Changed remark priniting and debug output messages to provide the additional messages and related inline cost.
4. Adjusted tests for changed printing.

Patch by: yrouban (Yevgeny Rouban)


Reviewers: craig.topper, sammccall, sgraenitz, NutshellySima, shchenz, chandlerc, apilipenko, javed.absar, tejohnson, dblaikie, sanjoy, eraman, xbolva00

Reviewed By: tejohnson, xbolva00

Subscribers: xbolva00, llvm-commits, arsenm, mehdi_amini, eraman, haicheng, steven_wu, dexonsmith

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

llvm-svn: 338494
2018-08-01 07:37:16 +00:00
..
Analysis [BasicAA] Use PhiValuesAnalysis if available when handling phi alias 2018-07-30 11:52:08 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [X86] Adding more test patterns for lea-opt (PR37939) 2018-08-01 03:53:27 +00:00
DebugInfo [DWARF] Basic support for producing DWARFv5 .debug_addr section 2018-08-01 05:48:06 +00:00
Demangle Resubmit r338340 "[MS Demangler] Better demangling of template arguments." 2018-07-31 17:16:44 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO Enrich inline messages 2018-08-01 07:37:16 +00:00
MC [AArch64] Disallow the MachO specific .loh directive for windows 2018-08-01 06:50:18 +00:00
Object
ObjectYAML
Other Revert r338431: "Add DebugCounters to DivRemPairs" 2018-07-31 21:18:44 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86 Enrich inline messages 2018-08-01 07:37:16 +00:00
tools Enrich inline messages 2018-08-01 07:37:16 +00:00
Transforms Enrich inline messages 2018-08-01 07:37:16 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh