summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ARMBuildAttributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/ARMBuildAttributes.h')
-rw-r--r--include/llvm/Support/ARMBuildAttributes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/ARMBuildAttributes.h b/include/llvm/Support/ARMBuildAttributes.h
index ef52ffba08..69732fc041 100644
--- a/include/llvm/Support/ARMBuildAttributes.h
+++ b/include/llvm/Support/ARMBuildAttributes.h
@@ -168,9 +168,11 @@ enum {
AllowMP = 1, // Allow use of MP extensions
// Tag_DIV_use, (=44), uleb128
+ // Note: AllowDIVExt must be emitted if and only if the permission to use
+ // hardware divide cannot be conveyed using AllowDIVIfExists or DisallowDIV
AllowDIVIfExists = 0, // Allow hardware divide if available in arch, or no
// info exists.
- DisallowDIV = 1, // Hardware divide explicitly disallowed
+ DisallowDIV = 1, // Hardware divide explicitly disallowed.
AllowDIVExt = 2, // Allow hardware divide as optional architecture
// extension above the base arch specified by
// Tag_CPU_arch and Tag_CPU_arch_profile.