From b85c64c4d882d24fe727f28126f83fce993ed8c8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 Sep 2005 23:17:26 +0000 Subject: [PATCH] whitespace/comment changes, no functionality diffs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23283 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCInstrInfo.td | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index de7306c9d3a..a7dbe992312 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -17,7 +17,8 @@ include "PowerPCInstrFormats.td" //===----------------------------------------------------------------------===// // Selection DAG Type Constraint definitions. // -// Note that the semantics of these constraints are hard coded into tblgen. +// Note that the semantics of these constraints are hard coded into tblgen. To +// modify or add constraints, you have to hack tblgen. // class SDTypeConstraint { @@ -66,7 +67,9 @@ class SDTypeProfile]>; // for 'imm'. def SDTVT : SDTypeProfile<1, 0, [SDTCisVT<0, OtherVT>]>; // for 'vt' -def SDTBinOp : SDTypeProfile<1, 2, [SDTCisSameAs<0, 1>, SDTCisSameAs<0, 2>]>; +def SDTBinOp : SDTypeProfile<1, 2, [ // add, mul, etc. + SDTCisSameAs<0, 1>, SDTCisSameAs<0, 2> +]>; def SDTIntBinOp : SDTypeProfile<1, 2, [ // and, or, xor, udiv, etc. SDTCisSameAs<0, 1>, SDTCisSameAs<0, 2>, SDTCisInt<0> ]>;