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: unassignedb...@nondot.org
          Reporter: pauls...@linux.vnet.ibm.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to