[PATCH] D23580: [GraphWriter] Change GraphWriter to use NodeRef in GraphTraits

Tim Shen via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 14:32:09 PDT 2016


timshen created this revision.
timshen added a reviewer: dblaikie.
timshen added a subscriber: llvm-commits.
Herald added a subscriber: MatzeB.

This is part of the "NodeType* -> NodeRef" migration. Notice that since
GraphWriter prints object address as identity, I added a static_assert on
NodeRef to be a pointer type.

https://reviews.llvm.org/D23580

Files:
  include/llvm/CodeGen/ScheduleDAG.h
  include/llvm/CodeGen/SelectionDAGNodes.h
  include/llvm/Support/GraphWriter.h
  lib/Analysis/BlockFrequencyInfo.cpp
  lib/CodeGen/MachineBlockFrequencyInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23580.68257.patch
Type: text/x-patch
Size: 4506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160816/3d03b3af/attachment.bin>


More information about the llvm-commits mailing list