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

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to