[PATCH] D49609: [isl] Typesafe user pointers

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 01:35:01 PDT 2018


philip.pfaffe added a comment.

As we discussed offline, std::any doesn't really help polly, because it's a c++17 feature. Instead, what about making the generator itself extensible? Allow users to hook into the generation process and modify whatever happens. Then we can just emit llvm::Any privately. Additionally, this can settle the exceptions/no-exceptions debate.

Regarding the reference identity of IDs: Do we care? Is it important to reflect this behavior in the c++ API? As in, do we ever rely on this?


Repository:
  rPLO Polly

https://reviews.llvm.org/D49609





More information about the llvm-commits mailing list