[PATCH] D22249: Get rid of bool parameters in SelectionDAG::getLoad, getStore, and friends.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 12 08:48:17 PDT 2016


jlebar added a comment.

In http://reviews.llvm.org/D22249#481459, @grandinj wrote:

> Seeing this, you might be interested in the enum/bitset library we use in LibreOffice:
>
>   https://cgit.freedesktop.org/libreoffice/core/tree/include/o3tl/typed_flags_set.hxx
>   
>
> for stuff like this


That looks pretty similar to what we had in mind.  One part I can't seem to figure out is, why do we have the Wrap class at all?  Is it just so you can avoid some of the assertions?


http://reviews.llvm.org/D22249





More information about the llvm-commits mailing list