diff options
-rw-r--r-- | include/llvm/CodeGen/ValueTypes.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index 4cdad67a73..978ea44f9d 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -111,7 +111,12 @@ namespace llvm { iPTR = 255, // LastSimpleValueType - The greatest valid SimpleValueType value. - LastSimpleValueType = 255 + LastSimpleValueType = 255, + + // FirstExtendedValueType - This sentinel is needed so that gcc 4.4 won't + // optimize away checks of a SimpleValueType compared to + // LastSimpleValueType+1. + FirstExtendedValueType = 256 }; SimpleValueType SimpleTy; |