diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-02-28 21:53:42 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-02-28 21:53:42 +0000 |
| commit | ff7fb60f2a7e2f3efd54df6480aadcb4adf5cab7 (patch) | |
| tree | 7204ffaf2b65ea7b49772943f5c8386a15a718a1 /utils/TableGen/DAGISelMatcher.cpp | |
| parent | 21221e357c6aa9ade3966ee86dab7d44c25220d0 (diff) | |
enhance the EmitNode/MorphNodeTo operands to take a bit that
specifies whether there is an output flag or not. Use this
instead of redundantly encoding the chain/flag results in the
output vtlist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelMatcher.cpp')
| -rw-r--r-- | utils/TableGen/DAGISelMatcher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelMatcher.cpp b/utils/TableGen/DAGISelMatcher.cpp index 1f1bb60c37..f1bfec0fc3 100644 --- a/utils/TableGen/DAGISelMatcher.cpp +++ b/utils/TableGen/DAGISelMatcher.cpp @@ -246,7 +246,8 @@ bool EmitNodeMatcherCommon::isEqualImpl(const Matcher *m) const { const EmitNodeMatcherCommon *M = cast<EmitNodeMatcherCommon>(m); return M->OpcodeName == OpcodeName && M->VTs == VTs && M->Operands == Operands && M->HasChain == HasChain && - M->HasFlag == HasFlag && M->HasMemRefs == HasMemRefs && + M->HasInFlag == HasInFlag && M->HasOutFlag == HasOutFlag && + M->HasMemRefs == HasMemRefs && M->NumFixedArityOperands == NumFixedArityOperands; } |
