[X86] Replace selectScalarSSELoad ComplexPattern with PatFrags to handle the 3 types...
authorCraig Topper <craig.topper@gmail.com>
Sat, 16 May 2020 19:38:34 +0000 (12:38 -0700)
committerCraig Topper <craig.topper@gmail.com>
Sat, 16 May 2020 21:30:45 +0000 (14:30 -0700)
commit135b877874fae96b4372c8a3fbfaa8ff44ff86e3
tree638ddf46f3853a01882ba05b898900ae3987109e
parent0ec5f501964010d4a186a51438338656eebe7912
[X86] Replace selectScalarSSELoad ComplexPattern with PatFrags to handle the 3 types of loads we currently match.

This ensures we create mem operands for these instructions fixing PR45949.

Unfortunately, it increases the size of X86GenDAGISel.inc, but some dag
combine canonicalization could reduce the types of load we need to match.
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/lib/Target/X86/X86InstrXOP.td