[PATCH] D33125: Introduce isoneof<T0, T1, ...> as an extension of isa<T>

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 13 08:19:21 PDT 2017


dberlin added a comment.

The only issue i have with this is that for a bunch of these class hierarchies, multiple isa is inefficient compared to switch based.
Unfortunately, i don't think C++ gives us a good way to specialize for that.

Oh well.
Still LGTM


Repository:
  rL LLVM

https://reviews.llvm.org/D33125





More information about the llvm-commits mailing list