HomePhabricator

[InstCombine][X86] Covert masked load/stores with (sign extended) bool vector…

Authored by RKSimon on Sat, Sep 12, 7:02 AM.

Description

[InstCombine][X86] Covert masked load/stores with (sign extended) bool vector masks to generic intrinsics.

As detailed on PR11210, if the mask is known to come from a (sign extended) bool vector (e.g. comparisons) then we can represent with a generic masked load/store without losing anything.

We already do something similar for BLENDV -> SELECT conversion.

Details

Committed
RKSimonSat, Sep 12, 7:09 AM
Parents
rGa874d6334409: [Clang] Add option to allow marking pass-by-value args as noalias.
Branches
Unknown
Tags
Unknown