[PATCH] D109958: [LoopFlatten] Enable it by default

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 20:37:37 PDT 2022


craig.topper added a comment.

I think clang/test/Profile/misexpect-switch-only-default-case.c may get a failure with -DLLVM_ENABLE_EXPENSIVE_CHECKS=ON which enables verify-scev if this pass is enabled by default.

I think the pass needs to call SE->forgetLoopDispositions() when it flattens loops. I don't know exactly what LoopDispositions are in SCEV so hopefully someone else can take a look.


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

https://reviews.llvm.org/D109958



More information about the llvm-commits mailing list