[X86] Cleanup patterns for AVX/SSE for PS operations. Always try to look for bitcasts...
authorCraig Topper <craig.topper@gmail.com>
Tue, 9 Aug 2016 03:06:28 +0000 (03:06 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 9 Aug 2016 03:06:28 +0000 (03:06 +0000)
commitc09273b42b73f3d50201fad80e119dba543a42a6
tree8a0201eafc8f6000df6024ad7fecac312411d14d
parentde06b51d3d41ae151dd72de9747948747a4ecc18
[X86] Cleanup patterns for AVX/SSE for PS operations. Always try to look for bitcasts from floating point types. If only AVX1 is supported we also need to handle integer types with floating point ops without looking for bitcasts.

Previously SSE1 had a pattern that looked for integer types without bitcasts, but the type wasn't legal with only SSE1 and SSE2 add an identical pattern for the integer instructions.

llvm-svn: 278089
llvm/lib/Target/X86/X86InstrSSE.td