[llvm-bugs] [Bug 43798] New: llvm-reduce fails to reduce after incorrectly deleting ret instruction

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 24 18:19:55 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43798

            Bug ID: 43798
           Summary: llvm-reduce fails to reduce after incorrectly deleting
                    ret instruction
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-reduce
          Assignee: unassignedbugs at nondot.org
          Reporter: Matthew.Arsenault at amd.com
                CC: dblaikie at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 22721
  --> https://bugs.llvm.org/attachment.cgi?id=22721&action=edit
Testcase to reduce

The attached testcase fails to reduce due to producing invalid IR that is
missing the ret instruction. It initially started reducing, but eventually has
the incorrect failure signature due to parse errors in the text IR produced by
the previous reduction steps. Running llc, the interestingness script prints
parse errors:
llc:
/var/folders/5g/8bzrsr594pqb8hwn2bw55d7h0000gn/T/llvm-reduce-1e46e5.ll:10:1:
error: expected instruction opcode

-- 
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/20191025/6216b3d5/attachment.html>


More information about the llvm-bugs mailing list