summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-28 20:34:52 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-28 20:34:52 +0000
commitc9f90c2a32d66b7f4cca812e4f8ffb1694ecb498 (patch)
tree4b9aa5df49aaf7c8e9c69e11b800e24beac15ef7 /clang/lib/Driver/Tools.cpp
parente172a8b7948d379400f6cf322589b9ba6f778e78 (diff)
downloadbcm5719-llvm-c9f90c2a32d66b7f4cca812e4f8ffb1694ecb498.tar.gz
bcm5719-llvm-c9f90c2a32d66b7f4cca812e4f8ffb1694ecb498.zip
Replace SplitKit SSA update with an iterative algorithm very similar to the one
in SSAUpdaterImpl.h Verifying live intervals revealed that the old method was completely wrong, and we need an iterative approach to calculating PHI placemant. Fortunately, we have MachineDominators available, so we don't have to compute that over and over like SSAUpdaterImpl.h must. Live-out values are cached between calls to mapValue() and computed in a greedy way, so most calls will be working with very small block sets. Thanks to Bob for explaining how this should work. llvm-svn: 117599
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud