[X86] Make the subus special case in LowerVSETCC self contained

Previously this code overrode the flags and opcode used by the later code in LowerVSETCC. This makes the code difficult to read and follow.

This patch moves all the SUBUS code into its own function and makes it responsible for creating its own SDNodes on success.

Differential Revision: https://reviews.llvm.org/D43530

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325827 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed