summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-09-19 16:31:17 +0000
committerSanjay Patel <spatel@rotateright.com>2019-09-19 16:31:17 +0000
commit13e71ce69319d7acdd0e8d57b31c09545d9f2a45 (patch)
treec0a6c30fea3bf9e670180b47af4ca12db7b3fd0f /llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
parent3ecab8e4555aee0b4aa10c413696a67f55948c39 (diff)
downloadbcm5719-llvm-13e71ce69319d7acdd0e8d57b31c09545d9f2a45.tar.gz
bcm5719-llvm-13e71ce69319d7acdd0e8d57b31c09545d9f2a45.zip
[Float2Int] avoid crashing on unreachable code (PR38502)
In the example from: https://bugs.llvm.org/show_bug.cgi?id=38502 ...we hit infinite looping/crashing because we have non-standard IR - an instruction operand is used before defined. This and other unusual constructs are allowed in unreachable blocks, so avoid the problem by using DominatorTree to step around landmines. Differential Revision: https://reviews.llvm.org/D67766 llvm-svn: 372339
Diffstat (limited to 'llvm/lib/Analysis/LoopUnrollAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud