summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitd83529e8c4d99a053b0128caa79d49dc65f015d4 (patch)
tree91806d56708d55f6ca59d0790db70699a8ae0cad /llvm/lib
parent32052e8272cb9f2f35eb87560ebecbc8ebe5cab3 (diff)
downloadbcm5719-llvm-d83529e8c4d99a053b0128caa79d49dc65f015d4.tar.gz
bcm5719-llvm-d83529e8c4d99a053b0128caa79d49dc65f015d4.zip
Comment to be explicit that the enumeration values for CondCodes matter.
llvm-svn: 57295
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARM.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARM.h b/llvm/lib/Target/ARM/ARM.h
index 8050a3aa5f4..4b26b2409ce 100644
--- a/llvm/lib/Target/ARM/ARM.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud