1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/lib
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
..
Analysis Allow value forwarding past release fences in GVN 2016-03-25 22:40:35 +00:00
AsmParser IR: Stop upgrading !llvm.loop attachments via MDString 2016-03-25 00:56:13 +00:00
Bitcode BitcodeWriter: Replace dead code with an assertion, NFC 2016-03-28 00:03:12 +00:00
CodeGen Introduce MachineFunctionProperties and the AllVRegsAllocated property 2016-03-28 17:05:30 +00:00
DebugInfo Fix a crash in running llvm-objdump -t with an invalid Mach-O file already 2016-03-23 20:27:00 +00:00
ExecutionEngine More more change need as part of r264187 where ErrorOr<> was added 2016-03-23 21:20:16 +00:00
Fuzzer [libFuzzer] use fflush after every Printf 2016-03-25 20:31:26 +00:00
IR [Verifier] Reject PHIs using defs from own block. 2016-03-26 23:32:57 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LibDriver Remove autoconf support 2016-01-26 21:29:08 +00:00
LineEditor Remove autoconf support 2016-01-26 21:29:08 +00:00
Linker Fix another case where we were unconditionally linking linkonce GVs. 2016-03-24 15:23:01 +00:00
LTO ThinLTO: use the callgraph from the combined index to drive the FunctionImporter 2016-03-26 05:40:34 +00:00
MC MC: Don't access the filesystem in MCContext's constructor 2016-03-22 22:24:29 +00:00
Object [Support] Switch to RAII helper for error-as-out-parameter idiom. 2016-03-25 23:54:32 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 20:50:44 +00:00
Passes [PM] Rename the CRTP mixin base classes for the new pass manager to 2016-03-11 10:33:22 +00:00
ProfileData Revert "[PGO] Fix name encoding for ObjC-like functions" 2016-03-28 16:14:07 +00:00
Support C++11 is required, remove some preprocessor checks for it 2016-03-28 11:13:03 +00:00
TableGen [TableGen] Fix typos in comments. NFC 2016-02-26 06:50:27 +00:00
Target Introduce MachineFunctionProperties and the AllVRegsAllocated property 2016-03-28 17:05:30 +00:00
Transforms [PGO] Don't set the function hotness attribute when populating counters 2016-03-28 17:08:56 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00