[llvm-commits] [llvm] r52659 - /llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h

Eric Christopher echristo at apple.com
Mon Jun 23 17:10:21 PDT 2008


On Jun 23, 2008, at 5:08 PM, Owen Anderson wrote:

>       // Factor of 250 comes from 1000 units per function divided
>       // by four slots per instruction.
> -      return (250 * I.getSize()) / i2miMap_.size();
> +      return (1000 / InstrSlots::NUM * I.getSize()) /  
> i2miMap_.size();

Should update the comment :)

-eric



More information about the llvm-commits mailing list