LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 539 - bugpoint should run tests in parallel
Summary: bugpoint should run tests in parallel
Status: NEW
Alias: None
Product: tools
Classification: Unclassified
Component: bugpoint (show other bugs)
Version: trunk
Hardware: All All
: P enhancement
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 02:03 PST by Duraid Madina
Modified: 2010-10-10 10:26 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duraid Madina 2005-03-15 02:03:03 PST
I will send a box of salty dead fish to anyone who can multithread bugpoint (or
rather, get bugpoint to spawn parallel gcc/llc processes in some effective manner)
Comment 1 Chris Lattner 2005-03-15 09:10:36 PST
That would be cool, but I wouldn't hold your breath over it.  Bugpoint gets
hacked on when people get annoyed at it enough to do something. :)
Comment 2 Reid Spencer 2005-12-22 20:48:51 PST
Mine.
Comment 3 Duraid Madina 2005-12-26 19:26:17 PST
Reid, cool! A few thoughts/requests:

1) Instead of just forking at each branch in the (binary) tree of tests bugpoint
does (when trying to nail a function being miscompiled), can you turn it into an
n-ary tree? i.e. at the first stage, compile say 4 threads x (1/4 the program
with llc, 3/4 with native) - this will increase the amount of "wasted"
computation but should greatly speed up bugpointing real-world programs on
people's shiny new multicore systems...

2) when bugpoint is down to testing single instructions, can you make a "work
list" out of these and have however many threads the user says are available
chipping away at it?

3) (for extra fish) - get 1) and 2) working when trying to find JIT bugs!

4) email me your address (I'm not joking about the fish ;)
Comment 4 Duraid Madina 2005-12-26 21:21:22 PST
Turning loop extraction into a work-list kinda thing would be cool, too.

(sorry for being greedy :( )