Go to file
Andrea Di Biagio 2a0e435db1 [TTI] Improved cost heuristic for cttz/ctlz calls.
This patch is a follow-up of r228826 (see code-review: D7506).

Now that SimplifyCFG uses TargetTransformInfo for cost analysis, we 
have to fix the cost heuristic for intrinsic calls to cttz/ctlz.

This patch defines method 'getIntrinsicCost' in BasicTTIImpl: now, BasicTTIImpl
queries TLI to check if a call to cttz/ctlz is cheap for the target.

Added test cases in Transforms/SimplifyCFG/X86 to verify that on x86,
SimplifyCFG only speculates a call to cttz/ctlz if it is cheap.

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

llvm-svn: 228829
2015-02-11 14:22:18 +00:00
clang Fix amount of diagnostic classes 2015-02-11 07:56:16 +00:00
clang-tools-extra Fixed module-map-checker to recurse umbrella dirs when collecting headers. 2015-02-10 14:58:07 +00:00
compiler-rt Revert "[UBSan] Enable -Wglobal-constructors." 2015-02-11 03:05:02 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement log10 2015-01-30 18:00:34 +00:00
libcxx Update double_include.sh.cpp for new headers. 2015-02-11 01:31:02 +00:00
libcxxabi unwind: tweak inclusion ordering to work around GCC 2015-02-11 05:20:53 +00:00
lld GNU: Rename parseZOption because it actually parses only -z max-page-size. 2015-02-10 21:40:51 +00:00
lldb Fix windows build (broken by r228823) 2015-02-11 12:52:55 +00:00
llgo irgen: don't emit debug metadata for locals 2015-01-29 00:34:30 +00:00
llvm [TTI] Improved cost heuristic for cttz/ctlz calls. 2015-02-11 14:22:18 +00:00
openmp Fixed memory corruption problem. 2015-02-10 20:10:21 +00:00
polly isl is now distributed with polly 2015-02-09 13:52:21 +00:00