summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/ValueTypes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/ValueTypes.h b/llvm/include/llvm/CodeGen/ValueTypes.h
index 4cdad67a736..978ea44f9d7 100644
--- a/llvm/include/llvm/CodeGen/ValueTypes.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud