[PATCH] D46706: [PM/LoopUnswitch] Support partial trivial unswitching.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 19:53:04 PDT 2018


chandlerc added a comment.

In https://reviews.llvm.org/D46706#1113840, @fedor.sergeev wrote:

> Not exactly related to this set of changes...
>  I just have discovered that old LoopUnswitch performs SCEV cache invalidation when it does nontrivial updates to CFG
>
>   (forgetLoop in LoopUnswitch::unswitchNontrivialCondition) .
>   
>
> Perhaps makes sense to do the same in new loop unswitch as well?


Yes, will attack that in a separate patch unless someone gets there first.


Repository:
  rL LLVM

https://reviews.llvm.org/D46706





More information about the llvm-commits mailing list