Skip to content

Conversation

@HendrikHuebner
Copy link
Contributor

This PR upstreams much of the cleanup handling logic for conditional cleanups, operator delete cleanup, cleanup flags...

Still work in progress - I just created this to review my own code and figure out how to break it down into smaller PRs (suggestions welcome)

!std::is_base_of<mlir::Block, T>::value> struct DominatingPointer;
template <class T> struct DominatingPointer<T, false> : InvariantValue<T *> {};

// template <class T> struct DominatingPointer<T,true> at end of file
Copy link
Contributor Author

@HendrikHuebner HendrikHuebner Nov 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment from OGCG is just lying

void destroy() {
if (auxAllocas)
delete auxAllocas;
delete extInfo;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: smart poiners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant