[X86][SSE] Don't use LowerVSETCCWithSUBUS for unsigned compare with +ve operands...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 7 Sep 2020 15:11:40 +0000 (16:11 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 7 Sep 2020 15:11:40 +0000 (16:11 +0100)
commit9de0a3da6a76030f96a2d6793ca4f094fa538db5
tree91f3743260ebdd98b43900a7712495895b6359a5
parent7993431dad064d03244f32c9585325b891f3e807
[X86][SSE] Don't use LowerVSETCCWithSUBUS for unsigned compare with +ve operands (PR47448)

We already simplify the unsigned comparisons if we've found the operands are non-negative, but we were still calling LowerVSETCCWithSUBUS which resulted in the PR47448 regressions.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-unsigned-cmp.ll