From: Chris Lattner Date: Wed, 5 Jan 2005 22:14:14 +0000 (+0000) Subject: Add a list end sentinal X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b66144c1e1422719638751fe4372f4f1f31b9814;p=oota-llvm.git Add a list end sentinal git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19299 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index ed58c9eee6a..77524ec0d24 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -39,6 +39,8 @@ namespace MVT { // MVT = Machine Value Types f128 = 10, // This is a 128 bit floating point value isVoid = 11, // This has no value + + LAST_VALUETYPE, // This always remains at the end of the list. }; static inline bool isInteger(ValueType VT) {