Inline: Change "--inline-entry-points-all" to "-exhaustive"
authorGreg Fischer <greg@lunarg.com>
Wed, 26 Apr 2017 00:07:35 +0000 (18:07 -0600)
committerDavid Neto <dneto@google.com>
Wed, 26 Apr 2017 06:23:20 +0000 (02:23 -0400)
tools/opt/opt.cpp

index 26af62f..79a8cd6 100644 (file)
@@ -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());