25
25
# -release Build an LLVM Release version
26
26
# -pedantic Enable additional GCC warnings to detect possible errors.
27
27
# -enable-linscan Enable linearscan tests
28
- # -disable-codegen Disable LLC and JIT tests in the nightly tester.
28
+ # -disable-llc Disable LLC tests in the nightly tester.
29
+ # -disable-jit Disable JIT tests in the nightly tester.
29
30
# -verbose Turn on some debug output
30
31
# -debug Print information useful only to maintainers of this script.
31
32
# -nice Checkout/Configure/Build with "nice" to reduce impact
78
79
my $PROGTESTOPTS = " " ;
79
80
my $VERBOSE = 0;
80
81
my $DEBUG = 0;
81
- my $CONFIGUREARGS = " --enable-jit " ;
82
+ my $CONFIGUREARGS = " " ;
82
83
my $NICE = " " ;
83
84
84
85
sub ReadFile {
@@ -262,9 +263,10 @@ sub GetQMTestResults { # (filename)
262
263
next ;
263
264
}
264
265
if (/ ^-enable-linscan$ / ) { $PROGTESTOPTS .= " ENABLE_LINEARSCAN=1" ; next ; }
265
- if (/ ^-disable-codegen$ / ){ $PROGTESTOPTS .= " DISABLE_JIT=1 DISABLE_LLC=1" ;
266
- $CONFIGUREARGS =" --disable-jit --disable-llc_diffs" ;
267
- next ; }
266
+ if (/ ^-disable-llc$ / ) { $PROGTESTOPTS .= " DISABLE_LLC=1" ;
267
+ $CONFIGUREARGS .= " --disable-llc_diffs" ; next ; }
268
+ if (/ ^-disable-jit$ / ) { $PROGTESTOPTS .= " DISABLE_JIT=1" ;
269
+ $CONFIGUREARGS .= " --disable-jit" ; next ; }
268
270
if (/ ^-verbose$ / ) { $VERBOSE = 1; next ; }
269
271
if (/ ^-debug$ / ) { $DEBUG = 1; next ; }
270
272
if (/ ^-nice$ / ) { $NICE = " nice " ; next ; }
@@ -279,6 +281,9 @@ sub GetQMTestResults { # (filename)
279
281
if ($ENV {' LLVMGCCDIR' }) {
280
282
$CONFIGUREARGS .= " --with-llvmgccdir=" . $ENV {' LLVMGCCDIR' };
281
283
}
284
+ if ($CONFIGUREARGS !~ / --disable-jit/ ) {
285
+ $CONFIGUREARGS .= " --enable-jit" ;
286
+ }
282
287
283
288
die " Must specify 0 or 3 options!" if (@ARGV != 0 and @ARGV != 3);
284
289
0 commit comments