[PATCH] D29295: Move core RDF files from lib/Target/Hexagon to CodeGen

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 17 07:47:22 PDT 2017


kparzysz updated this revision to Diff 95438.
kparzysz added a comment.

Multiple fixes to RDF, addressed comments.

Increased the scope of testing: created an extra post-RA pass that ran the RDF-based copy propagation and dead code elimination, followed by liveness recomputation (in a similar way to what HexagonRDFOpt.cpp does).  I manually checked "make check-llvm-codegen" failures on AArch64, ARM and PowerPC, and they seem to be caused by these optimizations modifying the code to a form not expected by the testcase.  In all those cases the code appeared to still be correct.


Repository:
  rL LLVM

https://reviews.llvm.org/D29295

Files:
  include/llvm/CodeGen/RDFGraph.h
  include/llvm/CodeGen/RDFLiveness.h
  include/llvm/CodeGen/RDFRegisters.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/RDFGraph.cpp
  lib/CodeGen/RDFLiveness.cpp
  lib/CodeGen/RDFRegisters.cpp
  lib/Target/Hexagon/CMakeLists.txt
  lib/Target/Hexagon/HexagonOptAddrMode.cpp
  lib/Target/Hexagon/HexagonRDFOpt.cpp
  lib/Target/Hexagon/RDFCopy.cpp
  lib/Target/Hexagon/RDFCopy.h
  lib/Target/Hexagon/RDFDeadCode.cpp
  lib/Target/Hexagon/RDFDeadCode.h
  lib/Target/Hexagon/RDFGraph.cpp
  lib/Target/Hexagon/RDFGraph.h
  lib/Target/Hexagon/RDFLiveness.cpp
  lib/Target/Hexagon/RDFLiveness.h
  lib/Target/Hexagon/RDFRegisters.cpp
  lib/Target/Hexagon/RDFRegisters.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29295.95438.patch
Type: text/x-patch
Size: 329700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170417/526bd22e/attachment-0001.bin>


More information about the llvm-commits mailing list