HomePhabricator

[InstCombine] matchBSwapOrBitReversem - recognise or(fshl(),fshl()) bswap…

Authored by RKSimon on Oct 25 2020, 3:17 AM.

Description

[InstCombine] matchBSwapOrBitReversem - recognise or(fshl(),fshl()) bswap patterns.

I'm not certain InstCombinerImpl::matchBSwapOrBitReverse needs to filter the or(op0(),op1()) ops - there are just too many cases that recognizeBSwapOrBitReverseIdiom/collectBitParts handle now (and quickly).

Details

Committed
RKSimonOct 25 2020, 3:17 AM
Parents
rG5e9f172295d0: [InstCombine] Add test for or(fshl(),fshl()) bswap pattern.
Branches
Unknown
Tags
Unknown