Files
llvm/test/Transforms/LICM
John Brawn 1b53749575 [LICM] Adjust how moving the re-hoist point works
In some cases the order that we hoist instructions in means that when rehoisting
(which uses the same order as hoisting) we can rehoist to a block A, then a
block B, then block A again. This currently causes an assertion failure as it
expects that when changing the hoist point it only ever moves to a block that
dominates the hoist point being moved from.

Fix this by moving the re-hoist point when it doesn't dominate the dominator of
hoisted instruction, or in other words when it wouldn't dominate the uses of
the instruction being rehoisted.

Differential Revision: https://reviews.llvm.org/D55266


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350408 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-04 17:12:09 +00:00
..
2018-08-10 22:21:56 +00:00
2018-08-21 00:42:07 +00:00
2018-07-04 13:28:39 +00:00
2017-11-17 20:38:25 +00:00