This is an archive of the discontinued LLVM Phabricator instance.

[mlir][OpenACCToLLVM] Add pass option to emit opaque pointers
ClosedPublic

Authored by zero9178 on Feb 21 2023, 2:09 AM.

Details

Summary

Part of https://discourse.llvm.org/t/rfc-switching-the-llvm-dialect-and-dialect-lowerings-to-opaque-pointers/68179

This patch simply adds the pass option use-opaque-pointers to instruct the pass to use opaque-pointers instead of typed pointers during conversion.
The pass itself does not actually make use of any pointers or anything, so did not require any changes except simply setting the option in the type converter. The tests have also been converted to using opaque-pointers

Diff Detail

Event Timeline

zero9178 created this revision.Feb 21 2023, 2:09 AM
zero9178 requested review of this revision.Feb 21 2023, 2:09 AM
gysit accepted this revision.Feb 21 2023, 2:30 AM

LGTM!

This revision is now accepted and ready to land.Feb 21 2023, 2:30 AM