[LLVMbugs] [Bug 327] NEW: [bugpoint] Add ability to remove individual BasicBlocks from functions

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Apr 21 12:38:54 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=327

           Summary: [bugpoint] Add ability to remove individual BasicBlocks
                    from functions
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: bugpoint
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: brukman+bugs at uiuc.edu
                CC: sabre at nondot.org


While bugpoint helps narrowing down a miscompiling test case down to a single
function, even sometimes to a single loop (or removes unnecessary loops from a
function), at times it leaves around a complex CFG with many instructions.

What would be nice to have is the ability for bugpoint to use the CodeExtractor
facility to remove a block at a time into a new function. Note that the downside
is that it may not always replicate the problem, as straight-line code then has
the additional call + register saves, and the callee code has register restores,
etc. This may mask the problem, but in many cases BEFORE and AFTER the affected
region, it may delete substantial amounts of code.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list