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 23279f4 commit 58ac649Copy full SHA for 58ac649
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
@@ -3185,17 +3185,6 @@ LogicalResult OpenMPDialectLLVMIRTranslationInterface::amendOperation(
3185
}
3186
return failure();
3187
})
3188
- .Case("omp.target",
3189
- [&](Attribute attr) {
3190
- if (auto targetAttr = attr.dyn_cast<omp::TargetAttr>()) {
3191
- llvm::OpenMPIRBuilderConfig &config =
3192
- moduleTranslation.getOpenMPBuilder()->Config;
3193
- config.TargetCPU = targetAttr.getTargetCpu();
3194
- config.TargetFeatures = targetAttr.getTargetFeatures();
3195
- return success();
3196
- }
3197
- return failure();
3198
- })
3199
.Default([](Attribute) {
3200
// Fall through for omp attributes that do not require lowering.
3201
return success();
0 commit comments