Skip to content

Commit d75ab7d

Browse files
committed
[fir] Remove getModel<Fortran::ISO::CFI_dim_t> in DescriptorModel.h
A windows buildbot complains about previous definiton after D112961. Remove the extra definition until we can figure out if really needed.
1 parent e69f647 commit d75ab7d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

flang/lib/Optimizer/CodeGen/DescriptorModel.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,6 @@ TypeBuilderFunc getModel<Fortran::ISO::CFI_type_t>() {
8787
};
8888
}
8989
template <>
90-
TypeBuilderFunc getModel<Fortran::ISO::CFI_index_t>() {
91-
return [](mlir::MLIRContext *context) -> mlir::Type {
92-
return mlir::IntegerType::get(context,
93-
sizeof(Fortran::ISO::CFI_index_t) * 8);
94-
};
95-
}
96-
template <>
9790
TypeBuilderFunc getModel<Fortran::ISO::CFI_dim_t>() {
9891
return [](mlir::MLIRContext *context) -> mlir::Type {
9992
auto indexTy = getModel<Fortran::ISO::CFI_index_t>()(context);

0 commit comments

Comments
 (0)