Skip to content

Commit 482cb89

Browse files
jeanPeriervzakhari
andauthored
Apply suggestions from code review
Co-authored-by: Slava Zakharin <[email protected]>
1 parent 8e8a2e1 commit 482cb89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flang/lib/Optimizer/Builder/HLFIRTools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ llvm::SmallVector<mlir::Value> hlfir::genLoopNestWithReductions(
984984

985985
template <typename Lambda>
986986
static fir::ExtendedValue
987-
conditionnalyEvaluate(mlir::Location loc, fir::FirOpBuilder &builder,
987+
conditionallyEvaluate(mlir::Location loc, fir::FirOpBuilder &builder,
988988
mlir::Value condition, const Lambda &genIfTrue) {
989989
mlir::OpBuilder::InsertPoint insertPt = builder.saveInsertionPoint();
990990

flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class HlfirIntrinsicConversion : public mlir::OpRewritePattern<OP> {
123123
// rebox can be removed).
124124
// When taking arguments as descriptors, the runtime expect absent
125125
// OPTIONAL to be a nullptr to a descriptor, lowering has already
126-
// prepared such descriptors // as needed, hence set
126+
// prepared such descriptors as needed, hence set
127127
// keepScalarOptionalBoxed to avoid building descriptors with a null
128128
// address for them.
129129
auto [exv, cleanup] = hlfir::translateToExtendedValue(

0 commit comments

Comments
 (0)