[x86] Vectorization of `std::replace` and its hand-written equivalent is not very useful and is often even somewhat harmful
Open
vectorizers
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
In the following example:
```C++
const char s[] = "....1.......1......1.......1....1......1...1.....1......1.....11....."
"......1.....1..........1.......1.........1..........1......1...........1.........1.."
".......1.........1....1...........1......1........1.....1.......1....1....1..1.....";
static void a(benchmark::State& state) {
char x[sizeof(s)];
for (auto _ : state) {
memcpy(x, s, sizeof(s));
benchmark::DoNotOptimize(x);
for (int i=0;i
Contributor guide
Assessment
This issue has not been assessed yet.