[x86] add tests for phaddd/phaddw; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 8 Oct 2018 19:48:18 +0000 (19:48 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 8 Oct 2018 19:48:18 +0000 (19:48 +0000)
commit6205ba0e7f9157a849a1ddaf76a2ea213bc95e7c
treefb079da73cd9d0a3bd01e329a238b7e32c15d6a8
parent67b1b328f702df70e52d93e67cf2eebf647cef76
[x86] add tests for phaddd/phaddw; NFC

More tests related to PR39195:
https://bugs.llvm.org/show_bug.cgi?id=39195

If we limit the horizontal codegen, it may require different
constraints for FP and integer.

llvm-svn: 343994
llvm/test/CodeGen/X86/phaddsub.ll