aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeGenDAGPatterns.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-09-06 14:15:52 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-09-06 14:15:52 +0000
commit6d3d7656539188b496089a3313ed4d13759adba3 (patch)
tree2167b65519599cb776e3b40c2236c607c476f522 /utils/TableGen/CodeGenDAGPatterns.h
parent4178946afba97a9a432a33ab1596f49a1ac090e7 (diff)
downloadexternal_llvm-6d3d7656539188b496089a3313ed4d13759adba3.zip
external_llvm-6d3d7656539188b496089a3313ed4d13759adba3.tar.gz
external_llvm-6d3d7656539188b496089a3313ed4d13759adba3.tar.bz2
Tablegen: Add OperandWithDefaultOps Operand type
This Operand type takes a default argument, and is initialized to this value if it does not appear in a patter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.h')
-rw-r--r--utils/TableGen/CodeGenDAGPatterns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.h b/utils/TableGen/CodeGenDAGPatterns.h
index 09b2a5b..25a0e4b 100644
--- a/utils/TableGen/CodeGenDAGPatterns.h
+++ b/utils/TableGen/CodeGenDAGPatterns.h
@@ -582,8 +582,8 @@ private:
void ComputeNamedNodes(TreePatternNode *N);
};
-/// DAGDefaultOperand - One of these is created for each PredicateOperand
-/// or OptionalDefOperand that has a set ExecuteAlways / DefaultOps field.
+/// DAGDefaultOperand - One of these is created for each OperandWithDefaultOps
+/// that has a set ExecuteAlways / DefaultOps field.
struct DAGDefaultOperand {
std::vector<TreePatternNode*> DefaultOps;
};