HomePhabricator

[InstCombine] extend rotate-left-by-constant canonicalization to funnel shift

Description

[InstCombine] extend rotate-left-by-constant canonicalization to funnel shift

Follow-up to:
rL356338

Rotates are a special case of funnel shift where the 2 input operands
are the same value, but that does not need to be a restriction for the
canonicalization when the shift amount is a constant.

Details

Committed
spatelMar 18 2019, 7:10 AM
Parents
rL356368: [SystemZ] Remove icmp undef from reduced tests
Branches
Unknown
Tags
Unknown