Skip to content

Commit 58ac649

Browse files
committed
Remove segment of code now causing compilation error
1 parent 23279f4 commit 58ac649

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3185,17 +3185,6 @@ LogicalResult OpenMPDialectLLVMIRTranslationInterface::amendOperation(
31853185
}
31863186
return failure();
31873187
})
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-
})
31993188
.Default([](Attribute) {
32003189
// Fall through for omp attributes that do not require lowering.
32013190
return success();

0 commit comments

Comments
 (0)