[SSE/AVX] Use multiclasses to reduce the mass of scalar math patterns; NFCI
authorSanjay Patel <spatel@rotateright.com>
Fri, 13 Feb 2015 21:52:42 +0000 (21:52 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 13 Feb 2015 21:52:42 +0000 (21:52 +0000)
commitfa1b3ba1f0c3cf74394b6bf24a801a33d3e477b8
tree2d9522875d006977aa4be23896f8115192170d32
parentf5c2138cf257cd8ab31e26821646dbfc953460f5
[SSE/AVX] Use multiclasses to reduce the mass of scalar math patterns; NFCI

This takes the preposterous number of patterns in this section
that were last added to in r219033 down to just plain obnoxious.

With a little more work, we might get this down to just comical.

I've added more test cases to the existing file that checks these
patterns, but it seems that some of these patterns simply don't
exist with today's shuffle lowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229158 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/sse-scalar-fp-arith.ll