aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2019-01-08 17:16:25 +0000
committerAnna Thomas <anna@azul.com>2019-01-08 17:16:25 +0000
commit2dfa412efeabb4c249dcb089192b31badb3fc4d5 (patch)
tree00d70662dad2fd0461d3a93f26dbf3122fd03320 /clang/lib/CodeGen/CodeGenModule.cpp
parentce79e3e5504acc67f7297ce49003dc96ba7223f5 (diff)
downloadllvm-2dfa412efeabb4c249dcb089192b31badb3fc4d5.zip
llvm-2dfa412efeabb4c249dcb089192b31badb3fc4d5.tar.gz
llvm-2dfa412efeabb4c249dcb089192b31badb3fc4d5.tar.bz2
[UnrollRuntime] Fix domTree failures in multiexit unrolling
Summary: This fixes the IDom for exit blocks and all blocks reachable from the exit blocks, when runtime unrolling under multiexit/exiting case. We initially had a restrictive check that the IDom is only updated when it is the header of the loop. However, we also need to update the IDom to the correct one when the IDom is any block within the original loop. See added test cases (which fail dom tree verification without the patch). Reviewers: reames, mzolotukhin, mkazantsev, hfinkel Reviewed by: brzycki, kuhar Subscribers: zzheng, dmgreen, llvm-commits Differential Revision: https://reviews.llvm.org/D56284 llvm-svn: 350640
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions