aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-02-20 23:08:26 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-02-20 23:08:26 +0000
commitb3892711010bc59916245018bef3a8aa7f8b0f67 (patch)
tree2903817257a2bb0421ce4c1bb3be67ede20ded45 /llvm/lib/Support/LockFileManager.cpp
parent1c20ff028e6e85b34a40908f61cf13d6ae32505f (diff)
downloadllvm-b3892711010bc59916245018bef3a8aa7f8b0f67.zip
llvm-b3892711010bc59916245018bef3a8aa7f8b0f67.tar.gz
llvm-b3892711010bc59916245018bef3a8aa7f8b0f67.tar.bz2
Copy single reaching defs directly into the LiveInterval.
When findReachingDefs() finds that only one value can reach the basic block, just copy the work list of visited blocks directly into the live interval. Sort the block list and use a LiveRangeUpdater to make the bulk add fast. When multiple reaching defs are found, transfer the work list to the updateSSA() work list as before. Also use LiveRangeUpdater in updateLiveIns() following updateSSA(). This makes live interval analysis more than 3x faster on one huge test case. llvm-svn: 175685
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions