This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Improve codegen for v128.bitselect
ClosedPublic

Authored by tlively on Aug 3 2022, 5:11 PM.

Details

Summary

Add patterns selecting ((v1 ^ v2) & c) ^ v2 and ((v1 ^ v2) & ~c) ^ v2 to
v128.bitselect.

Resolves #56827.

Diff Detail

Event Timeline

tlively created this revision.Aug 3 2022, 5:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 5:11 PM
Herald added subscribers: pmatos, asb, wingo and 6 others. · View Herald Transcript
tlively requested review of this revision.Aug 3 2022, 5:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 5:11 PM
aheejin accepted this revision.Aug 3 2022, 5:48 PM
This revision is now accepted and ready to land.Aug 3 2022, 5:48 PM
This revision was landed with ongoing or failed builds.Aug 3 2022, 11:28 PM
This revision was automatically updated to reflect the committed changes.