[LLVMdev] s/ComputeMaskedBits/ComputeKnownBits/g ?

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue May 13 14:01:03 PDT 2014


On 2014-May-13, at 13:27, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:

> On 13 May 2014 14:33, Jay Foad <jay.foad at gmail.com> wrote:
>> I've always found the name ComputeMaskedBits a bit unintuitive, and
>> since r154011 it's even worse because there is no masking going on
>> whatsoever:
>> 
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120402/140280.html
>> 
>> Is there any appetite for a global rename to ComputeKnownBits? Or any
>> other better names?
> 
> I like computeKnownBits.

+1.  We should fix the case if we're changing the name anyway.





More information about the llvm-dev mailing list