summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetSelectionDAG.td
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-15 01:44:59 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-15 01:44:59 +0000
commitcbc549e81cc7ecde8f5e2beb5030aa50fe9c9115 (patch)
tree42bf29c729c9542e60aad8f90c0133592d092252 /include/llvm/Target/TargetSelectionDAG.td
parent31552a97154eba6255a8b7ca742af9d0dbd810b7 (diff)
downloadllvm-cbc549e81cc7ecde8f5e2beb5030aa50fe9c9115.tar.gz
llvm-cbc549e81cc7ecde8f5e2beb5030aa50fe9c9115.tar.bz2
llvm-cbc549e81cc7ecde8f5e2beb5030aa50fe9c9115.tar.xz
Grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetSelectionDAG.td')
-rw-r--r--include/llvm/Target/TargetSelectionDAG.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetSelectionDAG.td b/include/llvm/Target/TargetSelectionDAG.td
index 6176956099..de2f50495c 100644
--- a/include/llvm/Target/TargetSelectionDAG.td
+++ b/include/llvm/Target/TargetSelectionDAG.td
@@ -476,7 +476,7 @@ def NOOP_SDNodeXForm : SDNodeXForm<imm, [{}]>;
//
/// PatFrag - Represents a pattern fragment. This can match something on the
-/// DAG, frame a single node to multiply nested other fragments.
+/// DAG, from a single node to multiple nested other fragments.
///
class PatFrag<dag ops, dag frag, code pred = [{}],
SDNodeXForm xform = NOOP_SDNodeXForm> : SDPatternOperator {
@@ -829,7 +829,7 @@ def cvtfu : PatFrag<(ops node:$val, node:$dty, node:$sty, node:$rd, node:$sat),
//===----------------------------------------------------------------------===//
// Selection DAG Pattern Support.
//
-// Patterns are what are actually matched against the target-flavored
+// Patterns are what are actually matched against by the target-flavored
// instruction selection DAG. Instructions defined by the target implicitly
// define patterns in most cases, but patterns can also be explicitly added when
// an operation is defined by a sequence of instructions (e.g. loading a large
@@ -841,7 +841,7 @@ class Pattern<dag patternToMatch, list<dag> resultInstrs> {
dag PatternToMatch = patternToMatch;
list<dag> ResultInstrs = resultInstrs;
list<Predicate> Predicates = []; // See class Instruction in Target.td.
- int AddedComplexity = 0; // See class Instruction in Target.td.
+ int AddedComplexity = 0; // See class Instruction in Target.td.
}
// Pat - A simple (but common) form of a pattern, which produces a simple result