Skip to content

Commit a462397

Browse files
committed
fix my fixme comment
1 parent e2c671e commit a462397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/DebugInfoMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line,
7474
#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS
7575
assert(AtomRank <= 7 && "AtomRank number should fit in 3 bits");
7676
#endif
77-
if (AtomRank)
77+
if (AtomGroup)
7878
C.updateDILocationAtomGroupWaterline(AtomGroup + 1);
7979

8080
assert((MDs.size() == 1 || MDs.size() == 2) &&

0 commit comments

Comments
 (0)