[LLVMbugs] [Bug 16457] New: sccp miscompile (t8499 case from PR16431)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 25 16:29:16 PDT 2013


            Bug ID: 16457
           Summary: sccp miscompile (t8499 case from PR16431)
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10768
  --> http://llvm.org/bugs/attachment.cgi?id=10768&action=edit
bugpoint reduced test case and input file

SCCP miscompiles the attached input (there is an input text file read by the
program which demonstrates the problem). This is the t8499 case from PR16431.

Specifically, if you run:
opt -sccp -mcpu=x86-64 bugpoint-passinput.ll

Then the resulting program segmentation faults.

whereas compiling it without running sccp, the resulting program outputs:
res = 953903788

Unfortunately, bugpoint crashes when attempting to further reduce the test case
 -- but at least it was able to isolate the relevant pass.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130625/51d8faf8/attachment.html>

More information about the llvm-bugs mailing list