[LLVMbugs] [Bug 14692] assert in InnerLoopVectorizer::createEmptyLoop

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 4 18:45:36 PST 2013


Akira Hatanaka <ahatanak at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Akira Hatanaka <ahatanak at gmail.com> 2013-01-04 20:45:36 CST ---
Fixing mips data layout string solved the problem (r171588).

The fix enables IndVarSimplify to widen the induction variable type to i64. As
a result, IdxTy will have the same type as what Count->getType() returns (i64),
and the problematic code in InnerLoopVectorizer::createEmptyLoop will not be
executed anymore.

I am still unsure if it is right for the code in LoopVectorize:createEmptyLoop
to (implicitly) rely on IndVarSimplify to widen the induction variable, but I
am closing this PR for now.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list