[X86] Remove isel patterns that turns packed add/sub/mul/div+movss/sd into scalar...
authorCraig Topper <craig.topper@intel.com>
Fri, 13 Jul 2018 04:50:39 +0000 (04:50 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 13 Jul 2018 04:50:39 +0000 (04:50 +0000)
commit2ab325ba23833b35ba137257378faf2cde7c13d0
tree14161abf75fbb1dc8a7e49b9584a3768de784e3c
parent5d92d3e5be7e4a25e20cc77194723da0a2740eb8
[X86] Remove isel patterns that turns packed add/sub/mul/div+movss/sd into scalar intrinsic instructions.

This is not an optimization we should be doing in isel. This is more suitable for a DAG combine.

My main concern is a future time when we support more FPENV. Changing a packed op to a scalar op could cause us to miss some exceptions that should have occured if we had done a packed op. A DAG combine would be better able to manage this.

llvm-svn: 336971
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/test/CodeGen/X86/sse-scalar-fp-arith.ll