We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9586e1a commit 879f6c5Copy full SHA for 879f6c5
llvm/lib/Target/SystemZ/SystemZInstrInfo.h
@@ -76,13 +76,11 @@ enum {
76
77
// z/OS XPLink specific: classifies the types of
78
// accesses to the ADA (Associated Data Area).
79
-// These enums contains values that overlap with the above MO_ enums,
80
-// but that's fine since the above enums are used with ELF,
81
-// while these values are used with z/OS.
+// These enum values should not overlap with the above MO_ enums.
82
enum {
83
- MO_ADA_DATA_SYMBOL_ADDR = 1,
84
- MO_ADA_INDIRECT_FUNC_DESC,
85
- MO_ADA_DIRECT_FUNC_DESC,
+ MO_ADA_DATA_SYMBOL_ADDR = (1 << 2),
+ MO_ADA_INDIRECT_FUNC_DESC = (2 << 2),
+ MO_ADA_DIRECT_FUNC_DESC = (3 << 2),
86
};
87
88
// Classifies a branch.
0 commit comments