1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/lib/Transforms
Rong Xu 83ebd2f38c [PGO] Don't set the function hotness attribute when populating counters
Don't set the function hotness attribute on the fly. This changes the CFG
branch probability of the caller function, which leads to inconsistent BB
ordering. This patch moves the attribute setting to a separated loop after
 the counts in all functions are populated.

Fixes PR27024 - PGO instrumentation profile data is not reflected in correct
basic blocks.

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

llvm-svn: 264594
2016-03-28 17:08:56 +00:00
..
Hello Remove autoconf support 2016-01-26 21:29:08 +00:00
InstCombine Minor code cleanup. NFC. 2016-03-23 01:38:35 +00:00
Instrumentation [PGO] Don't set the function hotness attribute when populating counters 2016-03-28 17:08:56 +00:00
IPO [ThinLTO] Add optional import message and statistics 2016-03-27 15:27:30 +00:00
ObjCARC ADT: Remove == and != comparisons between ilist iterators and pointers 2016-02-21 20:39:50 +00:00
Scalar [SROA] Fix typo in comment 2016-03-28 11:23:21 +00:00
Utils [SimplifyLibCalls] Transform printf("%s", "a") -> putchar('a'). 2016-03-28 15:54:01 +00:00
Vectorize [SLP] Remove unnecessary member variables by using container APIs. 2016-03-21 19:47:44 +00:00
CMakeLists.txt
LLVMBuild.txt