[Hexagon] Implement RDF-based post-RA optimizations
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 12 Jan 2016 19:09:01 +0000 (19:09 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 12 Jan 2016 19:09:01 +0000 (19:09 +0000)
commit5c562302c20d5ba1aadf47c92980bb0feab9bf01
tree12ebe53f880046c9a155f5adeb3cec957c59e569
parent44d6fd556f9e7753d5413bb0ec7b07e98179f4f8
[Hexagon] Implement RDF-based post-RA optimizations

- Handle simple cases of register copies (what current RDF CP allows).
- Hexagon-specific dead code elimination: handles dead address updates
  in post-increment instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257504 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/CMakeLists.txt
lib/Target/Hexagon/HexagonRDF.cpp [new file with mode: 0644]
lib/Target/Hexagon/HexagonRDF.h [new file with mode: 0644]
lib/Target/Hexagon/HexagonRDFOpt.cpp [new file with mode: 0644]
lib/Target/Hexagon/HexagonTargetMachine.cpp
test/CodeGen/Hexagon/postinc-offset.ll
test/CodeGen/Hexagon/rdf-copy.ll [new file with mode: 0644]
test/CodeGen/Hexagon/rdf-dead-loop.ll [new file with mode: 0644]