[llvm-commits] [llvm] r61778 - in /llvm/trunk: lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp test/CodeGen/X86/fold-pcmpeqd-0.ll

Chris Lattner clattner at apple.com
Mon Jan 5 17:52:15 PST 2009


On Jan 5, 2009, at 5:19 PM, Dan Gohman wrote:

> Author: djg
> Date: Mon Jan  5 19:19:04 2009
> New Revision: 61778
>
> URL: http://llvm.org/viewvc/llvm-project?rev=61778&view=rev
> Log:
> Use a latency value of 0 for the artificial edges inserted by
> AddPseudoTwoAddrDeps. This lets the scheduling infrastructure
> avoid recalculating node heights. In very large testcases this
> was a major bottleneck. Thanks to Roman Levenstein for finding
> this!
>
> As a side effect, fold-pcmpeqd-0.ll is now scheduled better
> and it no longer requires spilling on x86-32.

Nice!  Can you contrive a testcase that still exercises the pcmpeqd ->  
constant pool entry spilling logic?

-Chris




More information about the llvm-commits mailing list