[PATCH] D72825: [NFC] Fix options name typo
Jim Lin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 00:54:02 PST 2020
Jim created this revision.
Jim added reviewers: efriedma, MaskRay.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Jim edited the summary of this revision.
1. -ftree_loop_im -> -ftree-loop-im
2. -ftree_loop_ivcanon -> -ftree-loop-ivcanon
3. -ftree_loop_linear -> -ftree-loop-linear
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72825
Files:
clang/include/clang/Driver/Options.td
clang/test/Driver/clang_f_opts.c
Index: clang/test/Driver/clang_f_opts.c
===================================================================
--- clang/test/Driver/clang_f_opts.c
+++ clang/test/Driver/clang_f_opts.c
@@ -292,9 +292,9 @@
// RUN: -frename-registers \
// RUN: -fschedule-insns2 \
// RUN: -fsingle-precision-constant \
-// RUN: -ftree_loop_im \
-// RUN: -ftree_loop_ivcanon \
-// RUN: -ftree_loop_linear \
+// RUN: -ftree-loop-im \
+// RUN: -ftree-loop-ivcanon \
+// RUN: -ftree-loop-linear \
// RUN: -funsafe-loop-optimizations \
// RUN: -fuse-linker-plugin \
// RUN: -fvect-cost-model \
@@ -432,9 +432,9 @@
// CHECK-WARNING-DAG: optimization flag '-frename-registers' is not supported
// CHECK-WARNING-DAG: optimization flag '-fschedule-insns2' is not supported
// CHECK-WARNING-DAG: optimization flag '-fsingle-precision-constant' is not supported
-// CHECK-WARNING-DAG: optimization flag '-ftree_loop_im' is not supported
-// CHECK-WARNING-DAG: optimization flag '-ftree_loop_ivcanon' is not supported
-// CHECK-WARNING-DAG: optimization flag '-ftree_loop_linear' is not supported
+// CHECK-WARNING-DAG: optimization flag '-ftree-loop-im' is not supported
+// CHECK-WARNING-DAG: optimization flag '-ftree-loop-ivcanon' is not supported
+// CHECK-WARNING-DAG: optimization flag '-ftree-loop-linear' is not supported
// CHECK-WARNING-DAG: optimization flag '-funsafe-loop-optimizations' is not supported
// CHECK-WARNING-DAG: optimization flag '-fuse-linker-plugin' is not supported
// CHECK-WARNING-DAG: optimization flag '-fvect-cost-model' is not supported
Index: clang/include/clang/Driver/Options.td
===================================================================
--- clang/include/clang/Driver/Options.td
+++ clang/include/clang/Driver/Options.td
@@ -3297,9 +3297,9 @@
defm tls_model : BooleanFFlag<"tls-model">, Group<clang_ignored_f_Group>;
defm tracer : BooleanFFlag<"tracer">, Group<clang_ignored_gcc_optimization_f_Group>;
defm tree_dce : BooleanFFlag<"tree-dce">, Group<clang_ignored_gcc_optimization_f_Group>;
-defm tree_loop_im : BooleanFFlag<"tree_loop_im">, Group<clang_ignored_gcc_optimization_f_Group>;
-defm tree_loop_ivcanon : BooleanFFlag<"tree_loop_ivcanon">, Group<clang_ignored_gcc_optimization_f_Group>;
-defm tree_loop_linear : BooleanFFlag<"tree_loop_linear">, Group<clang_ignored_gcc_optimization_f_Group>;
+defm tree_loop_im : BooleanFFlag<"tree-loop-im">, Group<clang_ignored_gcc_optimization_f_Group>;
+defm tree_loop_ivcanon : BooleanFFlag<"tree-loop-ivcanon">, Group<clang_ignored_gcc_optimization_f_Group>;
+defm tree_loop_linear : BooleanFFlag<"tree-loop-linear">, Group<clang_ignored_gcc_optimization_f_Group>;
defm tree_salias : BooleanFFlag<"tree-salias">, Group<clang_ignored_f_Group>;
defm tree_ter : BooleanFFlag<"tree-ter">, Group<clang_ignored_gcc_optimization_f_Group>;
defm tree_vectorizer_verbose : BooleanFFlag<"tree-vectorizer-verbose">, Group<clang_ignored_f_Group>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72825.238426.patch
Type: text/x-patch
Size: 3525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200116/57593b5c/attachment.bin>
More information about the cfe-commits
mailing list