HomePhabricator

[Mips] Cleanup isel patterns to use 'vnot' instead of (xor X, immAllOnesV). NFCI

Authored by craig.topper on Jan 31 2021, 7:54 PM.

Description

[Mips] Cleanup isel patterns to use 'vnot' instead of (xor X, immAllOnesV). NFCI

A couple patterns used bitconvert on the immAllOnesV, but
the isel matching uses ISD::isBuildVectorAllOnes which
is able to look through bitcasts. So isel patterns don't need
to do it explicitly.

Details

Committed
craig.topperJan 31 2021, 8:01 PM
Parents
rG94206f1f90fe: [PowerPC] Remove vnot_ppc and replace with the standard vnot.
Branches
Unknown
Tags
Unknown