Skip to content

Commit bc1f153

Browse files
Fix variable name
1 parent d5aedb7 commit bc1f153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/lib/Lower/Bridge.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3294,8 +3294,8 @@ class FirConverter : public Fortran::lower::AbstractConverter {
32943294

32953295
// TODO: Don't use default value, instead get the following
32963296
// info from the directive
3297-
uint32_t isWrite{0}, localityHint{3}, isData{1};
3298-
fir::PrefetchOp::create(*builder, loc, memRef, isWrite,
3297+
uint32_t isRead{0}, localityHint{3}, isData{1};
3298+
fir::PrefetchOp::create(*builder, loc, memRef, isRead,
32993299
localityHint, isData);
33003300
}
33013301
},

0 commit comments

Comments
 (0)