[PATCH] D32637: [KnownBits] Add methods to set and clear all bits.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 05:56:53 PDT 2017


RKSimon added a comment.

> We also still need methods to clear Zero/One and and set all bits in the opposite. I'm considering makeZero() and makeAllOnes(). As I'm writing this I'm wondering if clearAllBits should be makeUnknown. Not sure what setAll would be in that naming.

Would KnowBits::makeInvalid make sense?


https://reviews.llvm.org/D32637





More information about the llvm-commits mailing list