HomePhabricator

[WebAssembly] Replace @llvm.wasm.popcnt with @llvm.ctpop.v16i8

Authored by tlively on Jul 21 2021, 4:45 PM.

Description

[WebAssembly] Replace @llvm.wasm.popcnt with @llvm.ctpop.v16i8

Use the standard target-independent intrinsic to take advantage of standard
optimizations.

Differential Revision: https://reviews.llvm.org/D106506