summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-04-04 23:26:24 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-04-04 23:26:24 +0000
commit44f902ed7d9b97fa98d383607cb9fab63f8b88a9 (patch)
tree24314baaf8093e855a6257f23a531e4cda21f2b5 /clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
parentb977387112a6b89fa5ad987016194542377cdc99 (diff)
downloadbcm5719-llvm-44f902ed7d9b97fa98d383607cb9fab63f8b88a9.tar.gz
bcm5719-llvm-44f902ed7d9b97fa98d383607cb9fab63f8b88a9.zip
X86 cost model: Differentiate cost for vector shifts of constants
SSE2 has efficient support for shifts by a scalar. My previous change of making shifts expensive did not take this into account marking all shifts as expensive. This would prevent vectorization from happening where it is actually beneficial. With this change we differentiate between shifts of constants and other shifts. radar://13576547 llvm-svn: 178808
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud