1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test
Rong Xu 040e4952d0 [PGO] Fix bogus warning for merging empty llvm profile file
Profile runtime can generate an empty raw profile (when there is no function in
the shared library). This empty profile is treated as a text format profile.  A
test format profile without the flag of "#IR" is thought to be a clang
generated profile.  So in llvm profile merging, we will get a bogus warning of
"Merge IR generated profile with Clang generated profile."

The fix here is to skip the empty profile (when the buffer size is 0) for
profile merge.

Reviewers: vsk, davidxl

Differential Revision: http://reviews.llvm.org/D25687

llvm-svn: 284659
2016-10-19 22:51:17 +00:00
..
Analysis [AliasSetTracker] Add support for memcpy and memmove. 2016-10-19 19:09:03 +00:00
Assembler DebugInfo: change alignment type from uint64_t to uint32_t to save space. 2016-10-18 14:31:22 +00:00
Bindings
Bitcode
BugPoint Disable fatal errors in the Verifier instantiated by bugpoint's crash 2016-10-18 16:24:43 +00:00
CodeGen AMDGPU : Add a function to enable and disable IEEEBit for SC and shader 2016-10-19 22:34:49 +00:00
DebugInfo Revert r284545 again as the regression in ppc still exists. There is bug in MBPI exposed by th patch. 2016-10-19 01:18:25 +00:00
Demangle
Examples
ExecutionEngine Remove the JIT EH/small code model tests for now. 2016-10-19 22:19:38 +00:00
Feature
FileCheck
Instrumentation [asan] Append line number to variable name if line is available and in the same file as the function. 2016-10-18 23:29:41 +00:00
Integer
JitListener
LibDriver
Linker
LTO
MC llvm/test/MC/Mips/macro-ld-sd.s: Sweep a spurious character \xA0 in the test file. 2016-10-19 13:41:12 +00:00
Object One more additional error check for invalid Mach-O files for a 2016-10-18 20:24:12 +00:00
ObjectYAML
Other
SymbolRewriter
TableGen
ThinLTO/X86
tools [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
Transforms [InstSimplify] fold negation of sign-bit 2016-10-19 21:23:45 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh