diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-07 05:19:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 05:19:29 +0000 |
commit | 8f707e15fbd09ca948b86419bcb0c92470827ac9 (patch) | |
tree | 16e04d219c3d9795cc8154bcbea580bdb98ce055 /utils/TableGen/DAGISelEmitter.cpp | |
parent | 4764189298b17432f79f01f4b707fc0a0ba33a3c (diff) | |
download | llvm-8f707e15fbd09ca948b86419bcb0c92470827ac9.tar.gz llvm-8f707e15fbd09ca948b86419bcb0c92470827ac9.tar.bz2 llvm-8f707e15fbd09ca948b86419bcb0c92470827ac9.tar.xz |
rename hasVariableOperands() -> isVariadic(). Add some comments.
Evan, please review the comments I added to getNumDefs to make sure
that they are accurate, thx.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.cpp')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index bd8d21058d..8502d6197a 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -835,7 +835,7 @@ public: if (InstPatNode && InstPatNode->getOperator()->getName() == "set") { InstPatNode = InstPatNode->getChild(InstPatNode->getNumChildren()-1); } - bool HasVarOps = isRoot && II.hasVariableNumberOfOperands; + bool HasVarOps = isRoot && II.isVariadic; // FIXME: fix how we deal with physical register operands. bool HasImpInputs = isRoot && Inst.getNumImpOperands() > 0; bool HasImpResults = isRoot && DstRegs.size() > 0; |