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: unassignedb...@nondot.org
          Reporter: matthew.arsena...@amd.com
                CC: dblai...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to