[PATCH] D31261: [IR] De-virtualize ~Value to save a vptr

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 14:52:50 PDT 2017


rnk added a comment.

PTAL, I think this is the final form of this patch. I couldn't come up with a cleaner way to allow MemorySSA to retain it's virtual methods. Trust me, I tried.

Then again, extending the Value/User hierarchy isn't really a supported use case. If we want to let people reuse the use/def list machinery with less work, we can tackle that separately from this change.


https://reviews.llvm.org/D31261





More information about the llvm-commits mailing list