aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-25 17:07:09 +0000
committerChris Lattner <sabre@nondot.org>2005-08-25 17:07:09 +0000
commita64d4cddf547524c72f67587ac399d41918a6fb4 (patch)
treec70f7a4474fae0370ffb1ccd4c0f4e91dcb75c76
parent45a8036df04a2d991dd437a3de1ffa21f6544f6d (diff)
add an enum value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23048 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/ValueTypes.h3
-rw-r--r--lib/Target/Target.td5
2 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h
index 7efad1103c..91c3526f0d 100644
--- a/include/llvm/CodeGen/ValueTypes.h
+++ b/include/llvm/CodeGen/ValueTypes.h
@@ -40,8 +40,9 @@ namespace MVT { // MVT = Machine Value Types
f64 = 8, // This is a 64 bit floating point value
f80 = 9, // This is a 80 bit floating point value
f128 = 10, // This is a 128 bit floating point value
+ Flag = 11, // This is a condition code or machine flag.
- isVoid = 11, // This has no value
+ isVoid = 12, // This has no value
LAST_VALUETYPE, // This always remains at the end of the list.
};
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 471c0179a1..df307589f9 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -35,8 +35,9 @@ def i128 : ValueType<128, 5>; // 128-bit integer value
def f32 : ValueType<32 , 7>; // 32-bit floating point value
def f64 : ValueType<64 , 8>; // 64-bit floating point value
def f80 : ValueType<80 , 9>; // 80-bit floating point value
-def f128 : ValueType<128, 9>; // 128-bit floating point value
-def isVoid : ValueType<0 , 11>; // Produces no value
+def f128 : ValueType<128, 10>; // 128-bit floating point value
+def FlagVT : ValueType<0 , 11>; // Condition code or machine flag
+def isVoid : ValueType<0 , 12>; // Produces no value
//===----------------------------------------------------------------------===//
// Register file description - These classes are used to fill in the target