[LLVMbugs] [Bug 2473] New: -ipsccp miscompilation

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 18 17:26:19 PDT 2008


           Summary: -ipsccp miscompilation
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: torvald at se.inf.tu-dresden.de
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1756)
 --> (http://llvm.org/bugs/attachment.cgi?id=1756)
bugpoint log output, input files, .bc's

ipsccp seems to cause bad code generation. The program (KMeans from
http://stamp.stanford.edu + Tanger transformations (tinystm.org)) works when
opts are disabled for the final linking step, but doesn't if standard opts are
not disabled. Result is a segfault in the final output. Valgrind sees the fault
with opts, but doesn't see any issue without the opts.

Bugpoint log output attached. Cmd line:
bugpoint kmeans-bugpoint.bc -Xlinker='-lpthread' -run-llc --output test
-abs-tolerance=1 -internalize -ipsccp -globalopt -constmerge -deadargelim
-instcombine -basiccg -inline -prune-eh -globalopt -globaldce -basiccg
-argpromotion -instcombine -jump-threading -domtree -domfrontier -scalarrepl
-basiccg -globalsmodref-aa -domtree -loops -loopsimplify -domfrontier
-scalar-evolution -licm -memdep -gvn -memcpyopt -dse -instcombine
-jump-threading -simplifycfg -globaldce -instcombine -simplifycfg -dce
-globaldce -preverify -domtree -verify --args -- -m40 -n40 -t0.00001 -i
inputs/random-n2048-d16-c16.txt -p 1

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