Details
Details
- Reviewers
bogner
Diff Detail
Diff Detail
Event Timeline
Comment Actions
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?
Comment Actions
Patch LGTM.
I agree the LegalTypes boolean isn't ideal, but it isn't actually being introduced here (getShiftAmount already had it) so I don't see that conversation as blocking for this change.
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
571 | Mark what the boolean argument is please (ie, /*LegalTypes=*/false or so) |
Mark what the boolean argument is please (ie, /*LegalTypes=*/false or so)