summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmtAttr.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-03-31 10:42:40 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-03-31 10:42:40 +0000
commitcad9a8a6bb3f26f2d7dad6aeca83f2ce5ada0eef (patch)
tree4548da56b3ade6ed52fd0a8ca3ecb22df8b58bc1 /clang/lib/Sema/SemaStmtAttr.cpp
parent958b9e7e33b5db1acf3d5a026efe85abb6784ab7 (diff)
downloadbcm5719-llvm-cad9a8a6bb3f26f2d7dad6aeca83f2ce5ada0eef.tar.gz
bcm5719-llvm-cad9a8a6bb3f26f2d7dad6aeca83f2ce5ada0eef.zip
[TTI] Let the cost model estimate ctpop costs based on legality
PPC has a vector popcount, this lets the vectorizer use the correct cost for it. Tweak X86 test to use an intrinsic that's actually scalarized (we have a somewhat efficient lowering for vector popcount using SSE, the cost model finds that now). llvm-svn: 265005
Diffstat (limited to 'clang/lib/Sema/SemaStmtAttr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud