aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2008-10-08 16:24:35 +0000
committerJim Grosbach <grosbach@apple.com>2008-10-08 16:24:35 +0000
commit309c80adb5ece9c2bcc5fe871a440f9d91e12ef8 (patch)
tree06d7c734431a702c03c54504d77a121cbafde243
parent43d9c8cd565d37410a16b2cdd62cabb3aca9926e (diff)
downloadexternal_llvm-309c80adb5ece9c2bcc5fe871a440f9d91e12ef8.zip
external_llvm-309c80adb5ece9c2bcc5fe871a440f9d91e12ef8.tar.gz
external_llvm-309c80adb5ece9c2bcc5fe871a440f9d91e12ef8.tar.bz2
Comment to be explicit that the enumeration values for CondCodes matter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57295 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARM.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARM.h b/lib/Target/ARM/ARM.h
index 8050a3a..4b26b24 100644
--- a/lib/Target/ARM/ARM.h
+++ b/lib/Target/ARM/ARM.h
@@ -27,6 +27,8 @@ class raw_ostream;
// Enums corresponding to ARM condition codes
namespace ARMCC {
+ // The CondCodes constants map directly to the 4-bit encoding of the
+ // condition field for predicated instructions.
enum CondCodes {
EQ,
NE,