HomePhabricator

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

Authored by spatel on Mar 18 2019, 7:10 AM.

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.

llvm-svn: 356369

Details

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