[PATCH] D38055: Tighten the invariants around LoopBase::invalidate

Stephan Bergmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 00:40:39 PDT 2017


sberg added inline comments.


================
Comment at: llvm/trunk/include/llvm/Transforms/Scalar/LoopPassManager.h:170
+    assert(&L == CurrentL ||
+           CurrentL->contains(&L) && "Cannot delete a loop outside of the "
                                      "subloop tree currently being processed.");
----------------
there's parentheses missing around the || here, right?


Repository:
  rL LLVM

https://reviews.llvm.org/D38055





More information about the llvm-commits mailing list