This is an archive of the discontinued LLVM Phabricator instance.

[JumpThread] Do not break loop structures when splitting blocks
Needs ReviewPublic

Authored by junbuml on Feb 5 2017, 9:30 PM.

Details

Summary

This change prevent SimplifyPartiallyRedundantLoad() from breaking a loop structure if splitting predecessors turn a loop into an irreducible loop.

Diff Detail

Event Timeline

junbuml created this revision.Feb 5 2017, 9:30 PM
junbuml updated this revision to Diff 87302.Feb 6 2017, 1:58 PM
junbuml added a subscriber: llvm-commits.
haicheng added inline comments.Feb 6 2017, 2:29 PM
include/llvm/Transforms/Scalar/JumpThreading.h
67

Please add a comment to explain how the map works.

junbuml updated this revision to Diff 88217.Feb 13 2017, 9:57 AM
junbuml marked an inline comment as done.
junbuml retitled this revision from [JumpThread] Do not break loops by splitting blocks to [JumpThread] Do not break loop structures when splitting blocks.
junbuml edited the summary of this revision. (Show Details)
junbuml added a reviewer: sanjoy.

Kindly ping. Please let me know any comment.

Kindly ping. Please let me know any comment.

mcrosier resigned from this revision.Jul 26 2017, 6:07 AM
sanjoy resigned from this revision.Jan 29 2022, 5:34 PM