[llvm-bugs] [Bug 45943] New: [LoopVectorizer] Assertion "Both operands to ICmp instruction are not of the same type!" failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 15 06:26:38 PDT 2020


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

            Bug ID: 45943
           Summary: [LoopVectorizer] Assertion "Both operands to ICmp
                    instruction are not of the same type!" failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

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

opt -mtriple=systemz-unknown -mcpu=z13 -O3 -force-vector-interleave=2
-unroll-full-max-count=1 -o out.opt.ll tc_loopvec_icmpops.ll

llvm-project/llvm/include/llvm/IR/Instructions.h:1136: void
llvm::ICmpInst::AssertOK(): Assertion `getOperand(0)->getType() ==
getOperand(1)->getType() && "Both operands to ICmp instruction are not of the
same type!"' failed.
...
#12 0x000002aa3f0e6364 llvm::LoopVectorizationPlanner::executePlan

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200515/acbe68d2/attachment.html>


More information about the llvm-bugs mailing list