HomePhabricator

[X86][SSE] Fold EXTEND_VECTOR_INREG(EXTEND_VECTOR_INREG(X)) ->…

Authored by RKSimon on Sep 20 2020, 8:33 AM.

Description

[X86][SSE] Fold EXTEND_VECTOR_INREG(EXTEND_VECTOR_INREG(X)) -> 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, 8:33 AM
Parents
rGa0c8793ce691: [X86][SSE] Enable ZERO_EXTEND_VECTOR_INREG shuffle combining on SSE41 targets.
Branches
Unknown
Tags
Unknown