From: Chris Lattner Date: Wed, 24 Mar 2010 00:49:29 +0000 (+0000) Subject: switch SDTBinaryArithWithFlags to be a multiple-result node as well. X-Git-Tag: android-x86-6.0-r1~1003^2~8252 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1aec4d759641fdc4a7751933453ba3db54c4b98e;p=android-x86%2Fexternal-llvm.git switch SDTBinaryArithWithFlags to be a multiple-result node as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99370 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index b55aa44d986..3ee37d64200 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -31,10 +31,10 @@ def SDTX86Cmov : SDTypeProfile<1, 4, def SDTUnaryArithWithFlags : SDTypeProfile<2, 1, [SDTCisInt<0>, SDTCisVT<1, i32>]>; -def SDTBinaryArithWithFlags : SDTypeProfile<1, 2, - [SDTCisSameAs<0, 1>, - SDTCisSameAs<0, 2>, - SDTCisInt<0>]>; +def SDTBinaryArithWithFlags : SDTypeProfile<2, 2, + [SDTCisSameAs<0, 2>, + SDTCisSameAs<0, 3>, + SDTCisInt<0>, SDTCisVT<1, i32>]>; def SDTX86BrCond : SDTypeProfile<0, 3, [SDTCisVT<0, OtherVT>, SDTCisVT<1, i8>, SDTCisVT<2, i32>]>;