summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/EarlyIfConversion.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-03-07 23:55:49 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-03-07 23:55:49 +0000
commit299cedc7ca89fb5eed26a3a2189e176b098960a0 (patch)
treea8c00216fec1a1497847fc3fc009d2953c9124c9 /llvm/lib/CodeGen/EarlyIfConversion.cpp
parenta649eee9e877e690932c5b5c37b15f0668590feb (diff)
downloadbcm5719-llvm-299cedc7ca89fb5eed26a3a2189e176b098960a0.tar.gz
bcm5719-llvm-299cedc7ca89fb5eed26a3a2189e176b098960a0.zip
Rename isEarlierInSameTrace to isUsefulDominator.
In very rare cases caused by irreducible control flow, the dominating block can have the same trace head without actually being part of the trace. As long as such a dominator still has valid instruction depths, it is OK to use it for computing instruction depths. Rename the function to avoid lying, and add a check that instruction depths are computed for the dominator. llvm-svn: 176668
Diffstat (limited to 'llvm/lib/CodeGen/EarlyIfConversion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud