HomePhabricator

[InstSimplify] Canonicalize non-demanded shuffle op to poison (NFCI)

Authored by nikic on Wed, Jan 6, 12:22 PM.

Description

[InstSimplify] Canonicalize non-demanded shuffle op to poison (NFCI)

I don't believe this has an observable effect, because the only
thing we care about here is replacing the operand with a constant
so following folds can apply. This change is just to make the
representation follow canonical unary shuffle form.

Details

Committed
nikicWed, Jan 6, 12:22 PM
Parents
rGd042f2db5bf0: [InstSimplify] Fold call null/undef to poison
Branches
Unknown
Tags
Unknown