[PATCH] D67359: [IVUser] Limit the iterations to check whether a loop has dedicated exits for extreme large case

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 21:20:48 PDT 2019


wmi added a comment.

In D67359#1664241 <https://reviews.llvm.org/D67359#1664241>, @skatkov wrote:

> I wonder whether the problem is in this function or in analysis itself?
>  If it is a problem of analysis it is better to restrict it but not an utility function.


I feel the problem is in the utility function. Currently the problem is exposed in IVUser pass but the same can happen anywhere else if only the function is called for a huge loop with many exits and with each exit having many predecessors.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67359/new/

https://reviews.llvm.org/D67359





More information about the llvm-commits mailing list