From a64d4cddf547524c72f67587ac399d41918a6fb4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 25 Aug 2005 17:07:09 +0000 Subject: [PATCH] add an enum value git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23048 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/ValueTypes.h | 3 ++- lib/Target/Target.td | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index 7efad1103c6..91c3526f0db 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 471c0179a12..df307589f90 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