1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test
Adam Nemet 05eccda0d4 [GVN, OptDiag] Include the value that is forwarded in load elimination
[recommitting after the fix in r288307]

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: 288380
2016-12-01 17:34:44 +00:00
..
Analysis [SLP] Additional tests with the cost of vector operations. 2016-12-01 17:26:54 +00:00
Assembler
Bindings [C API] Prevent nullptr dereferences in C API for counting attributes. 2016-11-15 22:19:59 +00:00
Bitcode Bitcode: Add a more comprehensive multi-module test now that we have both llvm-cat and llvm-modextract. 2016-11-29 21:55:09 +00:00
BugPoint
CodeGen [X86][SSE] Classify AND bitmasks as variable shuffle masks 2016-12-01 16:00:14 +00:00
DebugInfo revert r288283 as it causes debug info (line numbers) to be lost in instrumented code. also revert r288299 which was a workaround for the problem. 2016-12-01 02:06:56 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [asan/win] Align global registration metadata to its size 2016-11-29 01:32:21 +00:00
Integer
JitListener
LibDriver
Linker
LTO Rename option to -lto-pass-remarks-output 2016-11-22 07:35:14 +00:00
MC [LMT] Restrict nop length to one 2016-12-01 15:19:10 +00:00
Object Only computeRelativePath() on new members 2016-11-30 22:32:58 +00:00
ObjectYAML
Other Analysis: gep inbounds (gep inbounds (...)) is inbounds. 2016-11-22 01:03:40 +00:00
SymbolRewriter
TableGen TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
ThinLTO/X86 llvm-lto2: Simpler workaround for PR30396. 2016-11-30 23:19:05 +00:00
tools [WebAssembly] Add llvm-objdump support for wasm file format 2016-11-30 16:49:11 +00:00
Transforms [GVN, OptDiag] Include the value that is forwarded in load elimination 2016-12-01 17:34:44 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Add llvm-modextract tool. 2016-11-29 21:54:33 +00:00
lit.cfg Add llvm-modextract tool. 2016-11-29 21:54:33 +00:00
lit.site.cfg.in
TestRunner.sh