summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-05-18 23:22:44 +0000
committerDavide Italiano <davide@freebsd.org>2017-05-18 23:22:44 +0000
commiteab0de2b82da9b5d1c4efd782ead59a66e783248 (patch)
treec0b2b43d218147f099dc7526f3cd094b2bfe7ec0 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1cfc81f1dee741a82747270ddd8b32e76543dc32 (diff)
downloadbcm5719-llvm-eab0de2b82da9b5d1c4efd782ead59a66e783248.tar.gz
bcm5719-llvm-eab0de2b82da9b5d1c4efd782ead59a66e783248.zip
[NewGVN] Break infinite recursion in singleReachablePHIPath().
We can have cycles between PHIs and this causes singleReachablePhi() to call itself indefintely (until we run out of stack). The proper solution would be that of computing SCCs, but it's not worth for now, so just keep a visited set and give up when we find a cycle. Thanks to Dan for the discussion/help with this. Fixes PR33014. llvm-svn: 303393
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud