Switch SDTUnaryArithWithFlags to being modeled as a two-result
authorChris Lattner <sabre@nondot.org>
Wed, 24 Mar 2010 00:47:47 +0000 (00:47 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Mar 2010 00:47:47 +0000 (00:47 +0000)
commit74c8d67af8fb217e9ec231a452f367f5a0d3044b
tree4b0c58f65e85f7be1440bd613105325fa9b67f2d
parent084df627c82fdf4e1829723edf0a833b5bc31f89
Switch SDTUnaryArithWithFlags to being modeled as a two-result
ISD node.  The only change in the generated isel code are comments
like:

<                 // Src: (X86dec_flag:i16 GR16:i16:$src)
---
>                 // Src: (X86dec_flag:i16:i32 GR16:i16:$src)

because now it knows that X86dec_flag returns both an i16 (for the result)
and an i32 (for EFLAGS) in this case.  Wewt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99369 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.td