[PATCH] D38563: [MachineBlockPlacement] Make sure PreferredLoopExit is cleared everytime new loop is processed

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 10:56:22 PDT 2017


skatkov added a comment.

I believe that added assert is invalid. PreferredLoopExit might be easily part of the loop L if it was not added to hot chain. In other words pass decided to layout this BB in a scope of outer loop or function at all.

If you agree with me, please fix this asap.


Repository:
  rL LLVM

https://reviews.llvm.org/D38563





More information about the llvm-commits mailing list