summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-04-08 18:05:48 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-04-08 18:05:48 +0000
commitf47d2d7f6b8b57a227b029710dd9f78f1de4dc11 (patch)
tree56552b78b4bb0a4921398a3859e21d5b8ae77d4b /clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
parent32efd25b939432d1c5b365fbb0438c3644a546f1 (diff)
downloadbcm5719-llvm-f47d2d7f6b8b57a227b029710dd9f78f1de4dc11.tar.gz
bcm5719-llvm-f47d2d7f6b8b57a227b029710dd9f78f1de4dc11.zip
X86 cost model: Model cost for uitofp and sitofp on SSE2
The costs are overfitted so that I can still use the legalization factor. For example the following kernel has about half the throughput vectorized than unvectorized when compiled with SSE2. Before this patch we would vectorize it. unsigned short A[1024]; double B[1024]; void f() { int i; for (i = 0; i < 1024; ++i) { B[i] = (double) A[i]; } } radar://13599001 llvm-svn: 179033
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud