Skip to content

Commit bc91cb2

Browse files
committed
Add a TODO comment to emitCheckAllNode
1 parent 71a404e commit bc91cb2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/utils/TableGen/DecoderTableEmitter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ void DecoderTableEmitter::emitCheckAnyNode(const CheckAnyNode *N,
213213

214214
void DecoderTableEmitter::emitCheckAllNode(const CheckAllNode *N,
215215
indent Indent) {
216+
// TODO: Single-child CheckAll should be optimized out.
217+
// TODO: Nested CheckAll nodes should be flattened.
218+
// TODO: Sibling CheckAll and other Check* nodes should be merged together.
216219
for (const DecoderTreeNode *Child : N->children())
217220
emitNode(Child, Indent);
218221
}

0 commit comments

Comments
 (0)