summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-24 00:49:29 +0000
committerChris Lattner <sabre@nondot.org>2010-03-24 00:49:29 +0000
commitf9c8bec6c5ccce7152076aab6b0d2ad83d65eec1 (patch)
treeb914c75906e65cc1772302a7b55e32169b53ce11 /llvm/lib
parentdb1ac3cf3e170a382ed5b521d322d191eaea54d4 (diff)
downloadbcm5719-llvm-f9c8bec6c5ccce7152076aab6b0d2ad83d65eec1.tar.gz
bcm5719-llvm-f9c8bec6c5ccce7152076aab6b0d2ad83d65eec1.zip
switch SDTBinaryArithWithFlags to be a multiple-result node as well.
llvm-svn: 99370
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index b55aa44d986..3ee37d64200 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/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>]>;
OpenPOWER on IntegriCloud