[LLVMbugs] [Bug 16460] New: instcombine miscompile (t12958 case from PR16431)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 25 20:54:27 PDT 2013


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

            Bug ID: 16460
           Summary: instcombine miscompile (t12958 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 10770
  --> http://llvm.org/bugs/attachment.cgi?id=10770&action=edit
bugpoint reduced test case and input file

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

Specifically, if you run:
opt -instcombine bugpoint-passinput.ll

Then the resulting program segmentation faults.

whereas compiling it without running instcombine, the resulting program
outputs:
res = 4294930716

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/20130626/046b9e39/attachment.html>


More information about the llvm-bugs mailing list