File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2906,13 +2906,13 @@ static void genAtomicRead(lower::AbstractConverter &converter,
29062906 // implicit cast.
29072907
29082908 // An atomic read of form `v = x` would (without implicit casting)
2909- // lower to `omp.atomic.read %v = %x : !fir.ref<type1>, !fir.ref<typ2 >,
2909+ // lower to `omp.atomic.read %v = %x : !fir.ref<type1>, !fir.ref<type2 >,
29102910 // type2`. This implicit casting will rather generate the following FIR:
29112911 //
29122912 // %alloca = fir.alloca type2
29132913 // omp.atomic.read %alloca = %x : !fir.ref<type2>, !fir.ref<type2>, type2
29142914 // %load = fir.load %alloca : !fir.ref<type2>
2915- // %cvt = fir.convert %load: (type2) -> type1
2915+ // %cvt = fir.convert %load : (type2) -> type1
29162916 // fir.store %cvt to %v : !fir.ref<type1>
29172917
29182918 // These sequence of operations is thread-safe since each thread allocates
You can’t perform that action at this time.
0 commit comments