OSDN Git Service

[x86] improve SBB optimizations for SETB/SETA with subtract
authorSanjay Patel <spatel@rotateright.com>
Wed, 12 Jul 2017 17:56:46 +0000 (17:56 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 12 Jul 2017 17:56:46 +0000 (17:56 +0000)
commitf4058b98aeef1943ecad6064de585863baca0fa5
tree9ac9282b50d75e85f9d37ea641d19165fee7f1e1
parent8751bf94c8f2bd39752cde33f3eaab63c7c29ada
[x86] improve SBB optimizations for SETB/SETA with subtract

This is another step towards removing a combine that turns sext
into select of constants and preparing the backend for an IR
future where select is the canonical form.

Earlier commits in this area:
https://reviews.llvm.org/rL306040
https://reviews.llvm.org/rL306072
https://reviews.llvm.org/rL307404 (https://reviews.llvm.org/D34652)
https://reviews.llvm.org/rL307471

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307821 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/sbb.ll