Skip to content

Commit 70b9bbe

Browse files
committed
nits
1 parent a124bd2 commit 70b9bbe

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

llvm/include/llvm/IR/DebugInfoMetadata.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,18 +2131,21 @@ class DILocation : public MDNode {
21312131
getRawInlinedAt(), isImplicitCode(), getAtomGroup(),
21322132
getAtomRank());
21332133
}
2134+
21342135
public:
21352136
uint64_t getAtomGroup() const {
21362137
#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS
21372138
return AtomGroup;
2138-
#endif
2139+
#else
21392140
return 0;
2141+
#endif
21402142
}
21412143
uint8_t getAtomRank() const {
21422144
#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS
21432145
return AtomRank;
2144-
#endif
2146+
#else
21452147
return 0;
2148+
#endif
21462149
}
21472150

21482151
// Disallow replacing operands.

llvm/lib/AsmParser/LLParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5305,7 +5305,7 @@ bool LLParser::parseSpecializedMDNode(MDNode *&N, bool IsDistinct) {
53055305

53065306
/// parseDILocationFields:
53075307
/// ::= !DILocation(line: 43, column: 8, scope: !5, inlinedAt: !6,
5308-
/// isImplicitCode: true)
5308+
/// isImplicitCode: true, atomGroup: 1, atomRank: 1)
53095309
bool LLParser::parseDILocation(MDNode *&Result, bool IsDistinct) {
53105310
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED) \
53115311
OPTIONAL(line, LineField, ); \

0 commit comments

Comments
 (0)