Skip to content

Commit

Permalink
remove early run of remote-unused-function
Browse files Browse the repository at this point in the history
  • Loading branch information
regehr committed Sep 14, 2012
1 parent c34cf1e commit 0321479
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions creduce/creduce.in
Expand Up @@ -51,7 +51,8 @@ use creduce_utils;

######################################################################

my $NPROCS = Sys::CPU::cpu_count();
#my $NPROCS = Sys::CPU::cpu_count();
my $NPROCS = 1;

# if set, ensure the delta test succeeds before starting each pass
my $SANITY = 0;
Expand Down Expand Up @@ -108,7 +109,8 @@ my @suffixes = (".c", ".C", ".cc", ".cpp", ".CPP", ".c++", ".cp", ".cxx");

sub run_test ($) {
(my $fn) = @_;
my $res = runit "$test $fn >/dev/null 2>&1";
# my $res = runit "$test $fn >/dev/null 2>&1";
my $res = runit "$test $fn";
return ($res == 0);
}

Expand Down Expand Up @@ -392,8 +394,7 @@ my @all_methods = (
{ "name" => "pass_clang", "arg" => "callexpr-to-value", "pri" => 217, "first_pass_pri" => 49, },
{ "name" => "pass_clang", "arg" => "replace-callexpr", "pri" => 218, "first_pass_pri" => 50, },
{ "name" => "pass_clang", "arg" => "simplify-callexpr", "pri" => 219, "first_pass_pri" => 51, },
{ "name" => "pass_clang", "arg" => "remove-unused-function", "pri" => 220, "first_pass_pri" => 26, },
{ "name" => "pass_clang", "arg" => "remove-unused-function", "first_pass_pri" => 33, },
{ "name" => "pass_clang", "arg" => "remove-unused-function", "pri" => 220, "first_pass_pri" => 33, },
{ "name" => "pass_clang", "arg" => "remove-unused-var", "pri" => 221, "first_pass_pri" => 53, },
{ "name" => "pass_clang", "arg" => "simplify-if", "pri" => 222, },
{ "name" => "pass_clang", "arg" => "reduce-array-dim", "pri" => 223, },
Expand Down

0 comments on commit 0321479

Please sign in to comment.