Add initial support for fast-isel of the [SU]ADDO intrinsics. It isn't
authorBill Wendling <isanbard@gmail.com>
Tue, 9 Dec 2008 02:42:50 +0000 (02:42 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 9 Dec 2008 02:42:50 +0000 (02:42 +0000)
commit52370a10891673c1065a354f2497c22b82a32b1b
tree97a1e52667df5a28c7252dd14e3b04294358cb59
parent5fb580efd699b220a13cd017bb246a3e63481cf4
Add initial support for fast-isel of the [SU]ADDO intrinsics. It isn't
complete. For instance, it lowers the common case into this less-than-optimal
code:

        addl    %ecx, %eax
        seto    %cl
        testb   %cl, %cl
        jne     LBB1_2  ## overflow

instead of:

        addl    %ecx, %eax
        jo      LBB1_2  ## overflow

That will come in a future commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60737 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp