We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe22808 commit 84f0341Copy full SHA for 84f0341
flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
@@ -86,11 +86,9 @@ void ExternalNameConversionPass::runOnOperation() {
86
renameFuncOrGlobalInModule(op);
87
88
// Do the same in GPU modules.
89
- if (auto mod = mlir::dyn_cast_or_null<mlir::ModuleOp>(*op)) {
90
- for (auto gpuMod : mod.getOps<mlir::gpu::GPUModuleOp>()) {
+ if (auto mod = mlir::dyn_cast_or_null<mlir::ModuleOp>(*op))
+ for (auto gpuMod : mod.getOps<mlir::gpu::GPUModuleOp>())
91
renameFuncOrGlobalInModule(gpuMod);
92
- }
93
94
95
if (remappings.empty())
96
return;
0 commit comments