summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-13 16:15:31 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-13 16:15:31 +0000
commit2f6dfc7d0b6bb82ee561dc919218aef4fe651509 (patch)
treeb4e34ec48a16a8e99d0a100869889213bc619556 /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parentecd15d7f6c93e56183f28678989f4465028c195c (diff)
downloadbcm5719-llvm-2f6dfc7d0b6bb82ee561dc919218aef4fe651509.tar.gz
bcm5719-llvm-2f6dfc7d0b6bb82ee561dc919218aef4fe651509.zip
Allow for loops in LiveIntervals::pruneValue().
It is possible that the live range of the value being pruned loops back into the kill MBB where the search started. When that happens, make sure that the beginning of KillMBB is also pruned. Instead of starting a DFS at KillMBB and skipping the root of the search, start a DFS at each KillMBB successor, and allow the search to loop back to KillMBB. This fixes PR14078. llvm-svn: 165872
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud