HomePhabricator

[X86][SSE] Fold SIGN_EXTEND(SIGN_EXTEND_VECTOR_INREG(X)) ->…

Authored by RKSimon on Sep 20 2020, 9:11 AM.

Description

[X86][SSE] Fold SIGN_EXTEND(SIGN_EXTEND_VECTOR_INREG(X)) -> SIGN_EXTEND_VECTOR_INREG(X)

It should be possible to make this generic, but we're not great at checking legality of *_EXTEND_VECTOR_INREG ops so I'm conservatively putting this inside X86ISelLowering.cpp

Details

Committed
RKSimonSep 20 2020, 10:39 AM
Parents
rG7903ae4720a8: [InstCombine] factorize left shifts of add/sub
Branches
Unknown
Tags
Unknown