aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenTarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-19 05:07:09 +0000
committerChris Lattner <sabre@nondot.org>2010-03-19 05:07:09 +0000
commit83aeaab4620b6c3218ac36a7f329a4cb82abff81 (patch)
tree20e2e92d288ff69f8d696149590606fa44a4a897 /llvm/utils/TableGen/CodeGenTarget.h
parentbe6b17f92798e953d36a88693076ae95e3a06a39 (diff)
downloadllvm-83aeaab4620b6c3218ac36a7f329a4cb82abff81.zip
llvm-83aeaab4620b6c3218ac36a7f329a4cb82abff81.tar.gz
llvm-83aeaab4620b6c3218ac36a7f329a4cb82abff81.tar.bz2
add a new SDNPVariadic SDNP node flag, and use it in
dag isel gen instead of instruction properties. This allows the oh-so-useful behavior of matching a variadic non-root node. llvm-svn: 98934
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.h')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.h b/llvm/utils/TableGen/CodeGenTarget.h
index f5952bc..2926418 100644
--- a/llvm/utils/TableGen/CodeGenTarget.h
+++ b/llvm/utils/TableGen/CodeGenTarget.h
@@ -43,7 +43,8 @@ enum SDNP {
SDNPMayLoad,
SDNPMayStore,
SDNPSideEffect,
- SDNPMemOperand
+ SDNPMemOperand,
+ SDNPVariadic
};
/// getValueType - Return the MVT::SimpleValueType that the specified TableGen