llvm-project
f80c05cc - [flang][openacc] Only generate acc.terminator in compute construct (#155504)

Commit
156 days ago
[flang][openacc] Only generate acc.terminator in compute construct (#155504) When the end of a block is inside a data region (not a compute region), generating an `acc.terminator` will lead to a missing terminator when translating to LLVM. Only generate acc.terminator instead of fir.unreachable when nested in acc compute region.
Author
Parents
Loading