On Aug 21, 2012, at 11:20 AM, Richard Smith wrote:
> Thanks, r162297.
> 
> Is there a reason why llvm::RoundUpToAlignment uses a divide and a multiply, 
> rather than an and? (Is it trying to handle non-power-of-two alignments?)

Probably.  It should still check for power-of-2-ness and fast-path it.

John.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to