r193103 - Ignore -fstrength-reduce and -fno-strength-reduce.
Rafael Espindola
rafael.espindola at gmail.com
Mon Oct 21 11:49:56 PDT 2013
Author: rafael
Date: Mon Oct 21 13:49:56 2013
New Revision: 193103
URL: http://llvm.org/viewvc/llvm-project?rev=193103&view=rev
Log:
Ignore -fstrength-reduce and -fno-strength-reduce.
GCC does the same.
Modified:
cfe/trunk/include/clang/Driver/Options.td
cfe/trunk/test/Driver/clang_f_opts.c
Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=193103&r1=193102&r2=193103&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Mon Oct 21 13:49:56 2013
@@ -1456,6 +1456,8 @@ defm schedule_insns : BooleanFFlag<"sche
defm see : BooleanFFlag<"see">, Group<clang_ignored_f_Group>;
defm signaling_nans : BooleanFFlag<"signaling-nans">, Group<clang_ignored_f_Group>;
defm spec_constr_count : BooleanFFlag<"spec-constr-count">, Group<clang_ignored_f_Group>;
+defm strength_reduce :
+ BooleanFFlag<"strength-reduce">, Group<clang_ignored_f_Group>;
defm tls_model : BooleanFFlag<"tls-model">, Group<clang_ignored_f_Group>;
defm tracer : BooleanFFlag<"tracer">, Group<clang_ignored_f_Group>;
defm tree_salias : BooleanFFlag<"tree-salias">, Group<clang_ignored_f_Group>;
Modified: cfe/trunk/test/Driver/clang_f_opts.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/clang_f_opts.c?rev=193103&r1=193102&r2=193103&view=diff
==============================================================================
--- cfe/trunk/test/Driver/clang_f_opts.c (original)
+++ cfe/trunk/test/Driver/clang_f_opts.c Mon Oct 21 13:49:56 2013
@@ -127,5 +127,6 @@
// RUN: -fno-var-tracking \
// RUN: -fno-unsigned-char \
// RUN: -fno-signed-char \
+// RUN: -fstrength-reduce -fno-strength-reduce \
// RUN: %s 2>&1 | FileCheck --check-prefix=IGNORE %s
// IGNORE-NOT: error: unknown argument
More information about the cfe-commits
mailing list