]> granicus.if.org Git - llvm/commit
[RDF] Simplify construction of maximal registers
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 5 Oct 2017 17:12:49 +0000 (17:12 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 5 Oct 2017 17:12:49 +0000 (17:12 +0000)
commit29481eae6bd978f0a4390f2c46b687384a540d5e
tree760a3225cdde921235900b6124c45b3ca60a0392
parent5b4e1784b6cfa06aa79b871d2a1d93cf1101f57e
[RDF] Simplify construction of maximal registers

The old algoritm was not correct, although it worked most of the time.
Avoid the complex reachability analysis and simply calculate the maximal
registers out of the set of all referenced registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314991 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/RDFGraph.cpp
lib/Target/Hexagon/RDFGraph.h