Comment Comment by bsmith0 Here's a dumb question. If someone asked me to do it I'd probably write code like:while(x != 0) { c += x&1; x >>= 1; }Is this something that should be added to LLVM?Edit: flip the order parent bsmith0 5 years ago
while(x != 0) { c += x&1; x >>= 1; }
Is this something that should be added to LLVM?
Edit: flip the order