Skip to content

Commit 80c7d83

Browse files
committed
Rename variable to match upstream
1 parent 253eb25 commit 80c7d83

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,8 @@ mlir::Value ConvertFIRToLLVMPattern::computeBoxSize(
285285
// 4. The first ancestor that is one of the above.
286286
mlir::Block *ConvertFIRToLLVMPattern::getBlockForAllocaInsert(
287287
mlir::Operation *op, mlir::Region *parentRegion) const {
288-
if (auto outlineableIface =
289-
mlir::dyn_cast<mlir::omp::OutlineableOpenMPOpInterface>(op))
290-
return outlineableIface.getAllocaBlock();
288+
if (auto iface = mlir::dyn_cast<mlir::omp::OutlineableOpenMPOpInterface>(op))
289+
return iface.getAllocaBlock();
291290
if (auto recipeIface = mlir::dyn_cast<mlir::accomp::RecipeInterface>(op))
292291
return recipeIface.getAllocaBlock(*parentRegion);
293292
if (auto llvmFuncOp = mlir::dyn_cast<mlir::LLVM::LLVMFuncOp>(op))

0 commit comments

Comments
 (0)