From bad90d9f12483b243cb1a0e740b640b1b987174b Mon Sep 17 00:00:00 2001 From: Greg Fischer Date: Tue, 25 Apr 2017 18:07:35 -0600 Subject: [PATCH] Inline: Change "--inline-entry-points-all" to "-exhaustive" --- tools/opt/opt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 26af62f..79a8cd6 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -61,7 +61,7 @@ Options: e.g.: --set-spec-const-default-value "1:100 2:400" --unify-const Remove the duplicated constants. - --inline-entry-points-all + --inline-entry-points-exhaustive Exhaustively inline all function calls in entry point functions. Currently does not inline calls to functions with multiple returns. @@ -131,7 +131,7 @@ int main(int argc, char** argv) { } } else if (0 == strcmp(cur_arg, "--freeze-spec-const")) { optimizer.RegisterPass(CreateFreezeSpecConstantValuePass()); - } else if (0 == strcmp(cur_arg, "--inline-entry-points-all")) { + } else if (0 == strcmp(cur_arg, "--inline-entry-points-exhaustive")) { optimizer.RegisterPass(CreateInlinePass()); } else if (0 == strcmp(cur_arg, "--eliminate-dead-const")) { optimizer.RegisterPass(CreateEliminateDeadConstantPass()); -- 2.7.4