Skip to content

Commit 5e7684e

Browse files
committed
Fix build error.
1 parent 5457fc9 commit 5e7684e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

flang/lib/Lower/OpenMP/ClauseProcessor.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ mlir::omp::ReductionModifier translateReductionModifier(ReductionModifier mod) {
4242
return mlir::omp::ReductionModifier::defaultmod;
4343
}
4444

45-
/// Check for unsupported map operand types.
46-
static void checkMapType(mlir::Location location, mlir::Type type) {
47-
if (auto refType = mlir::dyn_cast<fir::ReferenceType>(type))
48-
type = refType.getElementType();
49-
if (auto boxType = mlir::dyn_cast_or_null<fir::BoxType>(type))
50-
if (!mlir::isa<fir::PointerType>(boxType.getElementType()))
51-
TODO(location, "OMPD_target_data MapOperand BoxType");
52-
}
53-
5445
static mlir::omp::ScheduleModifier
5546
translateScheduleModifier(const omp::clause::Schedule::OrderingModifier &m) {
5647
switch (m) {

0 commit comments

Comments
 (0)