[PATCH] D102234: [SimpleLoopBoundSplit] Split Bound of Loop which has conditional branch with IV

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 03:47:37 PDT 2021


jaykang10 added a comment.

In D102234#2802193 <https://reviews.llvm.org/D102234#2802193>, @fhahn wrote:

> I'm seeing crashes when trying to build `471.omnetpp` with `-O3 -flto` on X86 when running the pass just before the vectorizer (as below). Please take a look.
>
>   diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp
>   index b07f966e3b7e..a3e3ed093ecb 100644
>   --- a/llvm/lib/Passes/PassBuilder.cpp
>   +++ b/llvm/lib/Passes/PassBuilder.cpp
>   @@ -1195,6 +1195,7 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
>    /// TODO: Should LTO cause any differences to this set of passes?
>    void PassBuilder::addVectorPasses(OptimizationLevel Level,
>                                      FunctionPassManager &FPM, bool IsLTO) {
>   +  FPM.addPass(createFunctionToLoopPassAdaptor(LoopBoundSplitPass()));
>      FPM.addPass(LoopVectorizePass(
>          LoopVectorizeOptions(!PTO.LoopInterleaving, !PTO.LoopVectorization)));

Ah, Thanks @fhahn! I will have a look.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102234



More information about the llvm-commits mailing list