Page MenuHomePhabricator

[WebAssembly] Compute known bits for SIMD bitmask intrinsics
ClosedPublic

Authored by tlively on Jul 29 2021, 1:46 PM.

Details

Summary

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

Diff Detail

Event Timeline

tlively created this revision.Jul 29 2021, 1:46 PM
tlively requested review of this revision.Jul 29 2021, 1:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2021, 1:46 PM
aheejin accepted this revision.Aug 2 2021, 8:46 AM
aheejin added inline comments.
llvm/test/CodeGen/WebAssembly/simd-bitmask-mask.ll
7–8
This revision is now accepted and ready to land.Aug 2 2021, 8:46 AM