[llvm-commits] [llvm] r44687 - in /llvm/trunk: include/llvm/CodeGen/Passes.h lib/CodeGen/LLVMTargetMachine.cpp lib/CodeGen/MachineLICM.cpp lib/Target/PowerPC/PPCInstrInfo.td

Chris Lattner clattner at apple.com
Fri Dec 7 17:02:31 PST 2007


> But when I set the alignment of the loop in main to 8, it got  
> slightly faster:
>
> $ time ./t.new
>
> real	0m15.090s
> user	0m15.079s
> sys	0m0.010s
>
> So there's some type of alignment thing that's getting in the way, but
> it's encouraging for an initial pass that moved 3 instructions total.
> :-)

Ah right, to get stable performance and measure just the instruction  
change, you should align the loop top to 16 for each (just for  
measurment purposes)

-chris



More information about the llvm-commits mailing list