[llvm-commits] [llvm] r94757 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h

Chris Lattner clattner at apple.com
Mon Feb 1 18:11:02 PST 2010


On Jan 28, 2010, at 1:51 PM, Bill Wendling wrote:

> Author: void
> Date: Thu Jan 28 15:51:40 2010
> New Revision: 94757
>
> URL: http://llvm.org/viewvc/llvm-project?rev=94757&view=rev
> Log:
> Assign the ordering of SDNodes in a much less intrusive fashion.  
> After the
> "visit*" method is called, take the newly created nodes, walk them  
> in a DFS
> fashion, and if they don't have an ordering set, then give it one.

Awesome!

  include/llvm/CodeGen/SelectionDAG.h              |    2
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp        |    2
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp |  855 +++ 
+-------------------
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h   |    5
  4 files changed, 172 insertions(+), 692 deletions(-)


-Chris



More information about the llvm-commits mailing list