https://bugs.llvm.org/show_bug.cgi?id=46232

            Bug ID: 46232
           Summary: [LoopVectorizer] Assertion `UF > 0 &&  "Zero unrolled
                    factor is not supported"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedb...@nondot.org
          Reporter: pauls...@linux.vnet.ibm.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 23586
  --> https://bugs.llvm.org/attachment.cgi?id=23586&action=edit
reduced testcase

bin/opt -mtriple=s390x-linux-gnu -mcpu=z13 -O3 -disable-licm-promotion
-tiny-trip-count-interleave-threshold=4 -vectorizer-min-trip-count=8
-unroll-full-max-count=1 ./tc_lv_zerounrollfac.ll -S -o out.opt.ll

llvm-project/llvm/lib/Transforms/Utils/LoopUtils.cpp:1478: void
llvm::setProfileInfoAfterUnrolling(llvm::Loop*, llvm::Loop*, llvm::Loop*,
uint64_t): Assertion `UF > 0 && 
"Zero unrolled factor is not supported"' failed.
...
#8 0x000002aa2c5b373e llvm::setProfileInfoAfterUnrolling
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to