[X86] Add absolute-difference vector tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 14 Jan 2023 20:09:28 +0000 (20:09 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 14 Jan 2023 21:33:58 +0000 (21:33 +0000)
commit471facf5468a33d1ddc995b3a0cbe077aa6152dc
tree5d520d784b770657430b899ba8eaa2970b083ef1
parentc9e23187cb242e3c233752de2b2e5b54eb13fcf5
[X86] Add absolute-difference vector tests

X86 doesn't have absdiff instructions, but we should be able to canonicalize to avoid unnecessary scalarization/extensions/selects
llvm/test/CodeGen/X86/abds-vector-128.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/abds-vector-256.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/abds-vector-512.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/abdu-vector-128.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/abdu-vector-256.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/abdu-vector-512.ll [new file with mode: 0644]