diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-03-31 10:42:40 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-03-31 10:42:40 +0000 |
| commit | cad9a8a6bb3f26f2d7dad6aeca83f2ce5ada0eef (patch) | |
| tree | 4548da56b3ade6ed52fd0a8ca3ecb22df8b58bc1 /clang/lib/Sema/SemaStmtAttr.cpp | |
| parent | 958b9e7e33b5db1acf3d5a026efe85abb6784ab7 (diff) | |
| download | bcm5719-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

