Open Quuxplusone opened 4 years ago
tc_loopvec_icmpops.ll
Created attachment 23492 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
Attached tc_loopvec_icmpops.ll (1692 bytes, text/plain): reduced testcase
This should be fixed by https://reviews.llvm.org/D79976
tc_loopvec_icmpops.ll
(1692 bytes, text/plain)