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 d3dc73c commit 3da413aCopy full SHA for 3da413a
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
@@ -2257,13 +2257,11 @@ llvm::OpenMPIRBuilder *ModuleTranslation::getOpenMPBuilder() {
2257
/* HasRequiresUnifiedAddress = */ false,
2258
/* HasRequiresUnifiedSharedMemory = */ false,
2259
/* HasRequiresDynamicAllocators = */ false);
2260
- unsigned int defaultAS = getLLVMModule()
2261
- ->getDataLayout()
2262
- .getProgramAddressSpace();
+ unsigned int defaultAS =
+ getLLVMModule()->getDataLayout().getProgramAddressSpace();
2263
config.setDefaultTargetAS(defaultAS);
2264
ompBuilder->setConfig(std::move(config));
2265
ompBuilder->initialize();
2266
-
2267
}
2268
return ompBuilder.get();
2269
0 commit comments