HomePhabricator

[WebAssembly] Compute known bits for SIMD bitmask intrinsics

Authored by tlively on Aug 2 2021, 9:52 AM.

Description

[WebAssembly] Compute known bits for SIMD bitmask intrinsics

This optimizes out the mask when the result of a bitmask is interpreted as an i8
or i16 value. Resolves PR50507.

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