[clang] [llvm] [polly] [polly][ScheduleOptimizer] Fix long compile time(hang) reported in polly (PR #75141)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 16:45:27 PST 2023


================
@@ -860,7 +867,25 @@ static void runIslScheduleOptimizer(
     SC = SC.set_proximity(Proximity);
     SC = SC.set_validity(Validity);
     SC = SC.set_coincidence(Validity);
+
+    // Save error handling behavior
----------------
efriedma-quic wrote:

Would it be possible to use the IslMaxOperationsGuard helper here?  In addition to the code reuse, the RAII pattern is easier to read.

https://github.com/llvm/llvm-project/pull/75141


More information about the llvm-commits mailing list