summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2018-02-08 07:16:29 +0000
committerSerguei Katkov <serguei.katkov@azul.com>2018-02-08 07:16:29 +0000
commit66182d6c3805d167bb8b19b2958b481c4b3eed56 (patch)
tree888fb98882921ebde1c5a871ba42196c858c2ee3 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parentd535c4d9d244171f94d1d83cdb2292b39577a5b0 (diff)
downloadbcm5719-llvm-66182d6c3805d167bb8b19b2958b481c4b3eed56.tar.gz
bcm5719-llvm-66182d6c3805d167bb8b19b2958b481c4b3eed56.zip
[SimplifyCFG] Re-apply Relax restriction for folding unconditional branches
The commit rL308422 introduces a restriction for folding unconditional branches. Specifically if empty block with unconditional branch leads to header of the loop then elimination of this basic block is prohibited. However it seems this condition is redundantly strict. If elimination of this basic block does not introduce more back edges then we can eliminate this block. The patch implements this relax of restriction. The test profile/Linux/counter_promo_nest.c in compiler-rt project is updated to meet this change. Reviewers: efriedma, mcrosier, pacxx, hsung, davidxl Reviewed By: pacxx Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D42691 llvm-svn: 324572
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud