HomePhabricator

[InstCombine] canonicalize 'not' op after min/max intrinsic

Authored by spatel on Mar 9 2021, 8:23 AM.

Description

[InstCombine] canonicalize 'not' op after min/max intrinsic

This is another step towards parity between existing select
transforms and min/max intrinsics (D98152)..

The existing 'not' folds around select are complicated, so
it's likely that we will need to enhance this, but this
should be a safe step.

Details

Committed
spatelMar 9 2021, 8:33 AM
Parents
rGef19f6cbf333: [InstCombine] add tests for min/max intrinsics with not+constant; NFC
Branches
Unknown
Tags
Unknown