[LLVMbugs] [Bug 3089] New: Apparent miscompilation with -loop-index-split -loop-rotate -loop-reduce

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 17 17:56:12 PST 2008


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

           Summary: Apparent miscompilation with -loop-index-split -loop-
                    rotate -loop-reduce
           Product: libraries
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sliedes at cc.hut.fi
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2220)
 --> (http://llvm.org/bugs/attachment.cgi?id=2220)
Test case

I believe the attached bitcode is miscompiled with "opt -loop-index-split
-loop-rotate -loop-reduce bugpoint-tooptimize.bc" (bugpointed).

While I do not know for certain that the code is correct, it seems to run
without segfaulting with almost any llvm options, including all the default -O
levels. It also is production code used by lots of different people (usually
compiled with gcc). However compiling with the mentioned passes causes the code
to segfault. Architecture is amd64.

Please tell me if you need more information (source code, the whole program,
whatever).


-- 
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