Skip to content

Commit 32738eb

Browse files
Fix the build failure
1 parent 79adc2b commit 32738eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

flang/lib/Lower/Bridge.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3290,9 +3290,8 @@ class FirConverter : public Fortran::lower::AbstractConverter {
32903290
// TODO: Don't use default value, instead get the following
32913291
// info from the directive
32923292
uint32_t isWrite{0}, localityHint{3}, isData{1};
3293-
builder->create<fir::PrefetchOp>(genLocation(dir.source),
3294-
memRef, isWrite, localityHint,
3295-
isData);
3293+
fir::PrefetchOp::create(*builder, genLocation(dir.source),
3294+
memRef, isWrite, localityHint, isData);
32963295
}
32973296
},
32983297
[&](const auto &) {}},

0 commit comments

Comments
 (0)