[LLVMbugs] [Bug 1246] NEW: Bug in LoopStrengthReduce.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 9 05:07:12 PST 2007


http://llvm.org/bugs/show_bug.cgi?id=1246

           Summary: Bug in LoopStrengthReduce.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru


Consider the attached bytecode. Be careful with re-assembling - you can hit PR1245.

Everything is ok with "llc -fast" or with disabled LoopStrengthReduce pass (or
cbe), but segfault with enabled.

Segfault occurs in bb43 BB. The variable %i1.0_cc becames uninitialized.
Initialization occurs in the meshBB BB, but it seems, that LSR incorrectly moves
it somewhere. 

Target triple is, unfortunately, set to mingw32, but bytecode should run ok any
ia32 platform, it doesn't contain any target-specific code. Unfortunately, until
PR1245 is fixed, I cannot change it :(

Please also note, that "opt -std-compile-opts" is buggy on this bytecode, but
it's subject for future investigation (maybe due to PR1245).



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list