summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-03-26 18:58:00 +0000
committerLang Hames <lhames@gmail.com>2014-03-26 18:58:00 +0000
commitff85ba1264f6aca3eaa6304ff2fb261ed72d9578 (patch)
tree5a8e9271f3d13f421ed36180c7b58f06f8b43be4 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parent90b733a3cf0fab566d9bc8bbd8b315e06a3e769f (diff)
downloadbcm5719-llvm-ff85ba1264f6aca3eaa6304ff2fb261ed72d9578.tar.gz
bcm5719-llvm-ff85ba1264f6aca3eaa6304ff2fb261ed72d9578.zip
Change the PBQP graph adjacency list structure from std::set to std::vector.
The edge data structure (EdgeEntry) now holds the indices of its entries in the adjacency lists of the nodes it connects. This trades a little ugliness for faster insertion/removal, which is now O(1) with a cheap constant factor. All of this is implementation detail within the PBQP graph, the external API remains unchanged. Individual register allocations are likely to change, since the adjacency lists will now be ordered differently (or rather, will now be unordered). This shouldn't affect the average quality of allocations however. llvm-svn: 204841
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud