Skip to content

Commit 07a4b82

Browse files
jeanPeriertblah
andauthored
Update flang/lib/Optimizer/Transforms/StackArrays.cpp
Co-authored-by: Tom Eccles <[email protected]>
1 parent 44b22f6 commit 07a4b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Optimizer/Transforms/StackArrays.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ void AllocMemConversion::insertLifetimeMarkers(
805805
if (!dl || !kindMap)
806806
return;
807807
llvm::StringRef attrName = fir::getHasLifetimeMarkerAttrName();
808-
// Do not add lifetime markers, of the alloca already has any.
808+
// Do not add lifetime markers if the alloca already has any.
809809
if (newAlloc->hasAttr(attrName))
810810
return;
811811
if (std::optional<int64_t> size =

0 commit comments

Comments
 (0)