1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/lib/Transforms
Dehao Chen 23b3e63a01 Tune basic block annotation algorithm.
Summary:
Instead of using maximum IR weight as the basic block weight, this patch uses the voting algorithm to find the most likely weight for the basic block. This can effectively avoid the cases when some IRs are annotated incorrectly due to code motion of the profiled binary.

This patch also updates propagate.ll unittest to include discriminator in the input file so that it is testing something meaningful.

Reviewers: davidxl, dnovillo

Subscribers: llvm-commits

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

llvm-svn: 267519
2016-04-26 04:59:11 +00:00
..
Hello Remove autoconf support 2016-01-26 21:29:08 +00:00
InstCombine Optimize store of "bitcast" from vector to aggregate. 2016-04-25 22:22:39 +00:00
Instrumentation Re-commit optimization bisect support (r267022) without new pass manager support. 2016-04-22 22:06:11 +00:00
IPO Tune basic block annotation algorithm. 2016-04-26 04:59:11 +00:00
ObjCARC Re-commit optimization bisect support (r267022) without new pass manager support. 2016-04-22 22:06:11 +00:00
Scalar [SROA] Don't falsely report that changes have occured 2016-04-26 01:05:00 +00:00
Utils [SimplifyCFG] Preserve !llvm.mem.parallel_loop_access when merging 2016-04-26 02:06:06 +00:00
Vectorize [LoopVectorize] Don't consider conditional-load dereferenceability for marked parallel loops 2016-04-26 02:00:36 +00:00
CMakeLists.txt
LLVMBuild.txt