HomePhabricator

[X86] Add patterns to select (scalar_to_vector (loadf32)) as (V)MOVSSrm instead…

Authored by craig.topper on Jul 2 2019, 10:51 AM.

Description

[X86] Add patterns to select (scalar_to_vector (loadf32)) as (V)MOVSSrm instead of COPY_TO_REGCLASS + (V)MOVSSrm_alt.

Similar for (V)MOVSD. Ultimately, I'd like to see about folding
scalar_to_vector+load to vzload. Which would select as (V)MOVSSrm
so this is closer to that.

llvm-svn: 364948

Details

Committed
craig.topperJul 2 2019, 10:51 AM
Parents
rG36face4c1df7: [TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.7
Branches
Unknown
Tags
Unknown