aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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