[PATCH] D49064: DAG: Add helper for creating shifts with correct type

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 14:55:49 PDT 2018


efriedma added a comment.

I'm not really a fan of the LegalTypes boolean; it's just asking for people to pass the wrong value.  Can we just check whether the type is legal, or something like that?


https://reviews.llvm.org/D49064





More information about the llvm-commits mailing list