1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 14:02:52 +02:00
llvm-mirror/lib
Adam Nemet caf926700f [GVN, OptDiag] Include the value that is forwarded in load elimination
This requires some changes to the opt-diag API.  Hal and I have
discussed this at the Dev Meeting and came up with a streaming delimiter
(setExtraArgs) to solve this.

Arguments after this delimiter are only included in the optimization
records and not in the remarks printed in the compiler output.  (Note,
how in the test the content of the YAML file changes but the remarks on
the compiler output don't.)

This implements the green GVN message with a bug fix at line
http://lab.llvm.org:8080/artifacts/opt-view_test-suite/build/SingleSource/Benchmarks/Dhrystone/CMakeFiles/dry.dir/html/_org_test-suite_SingleSource_Benchmarks_Dhrystone_dry.c.html#L446

The fix is that now we properly include the constant value in the
message: "load of type i32 eliminated in favor of 7"

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

llvm-svn: 288047
2016-11-28 17:45:34 +00:00
..
Analysis [PM] Remove weird marking of invalidated analyses as "preserved". 2016-11-28 10:42:21 +00:00
AsmParser [AsmParser] Avoid recursing when lexing ';'. NFC. 2016-11-16 22:25:05 +00:00
Bitcode [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
CodeGen Revert "[DAG] Improve loads-from-store forwarding to handle TokenFactor" 2016-11-28 14:30:29 +00:00
DebugInfo [DebugInfo] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes (NFC). 2016-11-23 23:16:32 +00:00
Demangle Demangle: remove references to allocator for default allocator 2016-11-20 00:20:27 +00:00
ExecutionEngine Fix comment typos. NFC. 2016-11-20 13:47:59 +00:00
Fuzzer [libFuzzer] replace 'auto' with 'auto *' to better follow the LLVM style 2016-11-14 19:21:38 +00:00
IR [GVN, OptDiag] Include the value that is forwarded in load elimination 2016-11-28 17:45:34 +00:00
IRReader Timer: Track name and description. 2016-11-18 19:43:18 +00:00
LibDriver
LineEditor
Linker [ThinLTO] Fix crash when importing an opaque type 2016-11-19 18:44:16 +00:00
LTO [LTO] Move finishOptimizationRemarks after codegen 2016-11-28 16:51:49 +00:00
MC MC: ensure that we have a section before accessing it 2016-11-22 04:32:54 +00:00
Object Object: Add IRObjectFile::getTargetTriple(). 2016-11-24 01:13:09 +00:00
ObjectYAML
Option
Passes [PM] Change the static object whose address is used to uniquely identify 2016-11-23 17:53:26 +00:00
ProfileData Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
Support [ThreadPool] Rollback recent changes until I figure out the breakage. 2016-11-28 09:17:12 +00:00
TableGen TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
Target [x86] fix formatting; NFC 2016-11-28 17:39:21 +00:00
Transforms [GVN, OptDiag] Include the value that is forwarded in load elimination 2016-11-28 17:45:34 +00:00
CMakeLists.txt
LLVMBuild.txt