Add the acc.global_dtor when lowering the OpenACC declare
construct.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This change looks good. I see a small error with regards to "structured" but can be resolved in a follow-up change!
flang/lib/Lower/OpenACC.cpp | ||
---|---|---|
2321 | Structured flag should be false for declare in the acc constructor. Sorry I didn't catch this last review. Structured for declare operations will be true when in same function though! |
flang/lib/Lower/OpenACC.cpp | ||
---|---|---|
2321 | Thanks for catching this! |
Structured flag should be false for declare in the acc constructor. Sorry I didn't catch this last review. Structured for declare operations will be true when in same function though!