diff options
| author | Kostya Serebryany <kcc@google.com> | 2016-08-24 01:38:42 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2016-08-24 01:38:42 +0000 |
| commit | bceadcf1cd8f8128c92b1b2f3d4a11ba85f480cb (patch) | |
| tree | 0d8252aa65c0c27c5490417ed841fb2d838a3b2f /llvm/lib/Fuzzer/FuzzerValueBitMap.h | |
| parent | 79f85b3b8ff8e54e9c94870477f2868929e481b7 (diff) | |
| download | bcm5719-llvm-bceadcf1cd8f8128c92b1b2f3d4a11ba85f480cb.tar.gz bcm5719-llvm-bceadcf1cd8f8128c92b1b2f3d4a11ba85f480cb.zip | |
[libFuzzer] use __attribute__((target("popcnt"))) only on x86_64
llvm-svn: 279601
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerValueBitMap.h')
| -rw-r--r-- | llvm/lib/Fuzzer/FuzzerValueBitMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerValueBitMap.h b/llvm/lib/Fuzzer/FuzzerValueBitMap.h index e890e1e903e..2a917333e21 100644 --- a/llvm/lib/Fuzzer/FuzzerValueBitMap.h +++ b/llvm/lib/Fuzzer/FuzzerValueBitMap.h @@ -34,7 +34,7 @@ struct ValueBitMap { // Merges 'Other' into 'this', clears 'Other', // returns the number of set bits in 'this'. - __attribute__((target("popcnt"))) + ATTRIBUTE_TARGET_POPCNT size_t MergeFrom(ValueBitMap &Other) { uintptr_t Res = 0; for (size_t i = 0; i < kMapSizeInWords; i++) { |

