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 1159 - I'm impatient, please make llvm-test faster
Summary: I'm impatient, please make llvm-test faster
Status: RESOLVED FIXED
Alias: None
Product: Test Suite
Classification: Unclassified
Component: Programs Tests (show other bugs)
Version: trunk
Hardware: All All
: P enhancement
Assignee: Reid Spencer
URL:
Keywords: quality-of-implementation
Depends on:
Blocks:
 
Reported: 2007-02-02 17:41 PST by Chris Lattner
Modified: 2010-02-22 12:51 PST (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 Chris Lattner 2007-02-02 17:41:39 PST
Ideas:

1. Instead of using llvm-gcc -S -emit-llvm + llvm-as to get to the .rbc file for each.c file, just use llvm-
gcc -c -emit-llvm.
2. To get from linked.rbc to linked.bc, we currently invoke llvm-dis, then 'gccas' (a shell script which 
invokes llvm-dis then opt).  It would be much better to just run opt!

Both of these would significantly reduce the disk I/O, disk space required, and cpu time requirements for 
running llvm-test.

-Chris
Comment 1 Reid Spencer 2007-02-02 19:05:17 PST
I'm going to try to get this done for tonight's run.
Comment 2 Reid Spencer 2007-02-02 22:32:54 PST
This is now implemented, with these patches:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070129/043789.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070129/043791.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070129/043792.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070129/043793.html

This significantly speeds up llvm-test, especially on the larger test cases.
Even the smaller test suites are sped up by a second or two.