Rename the driver option to -mno-implicit-float, per Eli's suggestion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156950 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2012-05-16 21:19:55 +00:00
Родитель 6d2b92e15f
Коммит 005af27c60
4 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -146,6 +146,8 @@ def dwarf_debug_flags : Separate<"-dwarf-debug-flags">,
HelpText<"The string to embed in the Dwarf debug flags record.">; HelpText<"The string to embed in the Dwarf debug flags record.">;
def fforbid_guard_variables : Flag<"-fforbid-guard-variables">, def fforbid_guard_variables : Flag<"-fforbid-guard-variables">,
HelpText<"Emit an error if a C++ static local initializer would need a guard variable">; HelpText<"Emit an error if a C++ static local initializer would need a guard variable">;
def no_implicit_float : Flag<"-no-implicit-float">,
HelpText<"Don't generate implicit floating point instructions">;
def fdump_vtable_layouts : Flag<"-fdump-vtable-layouts">, def fdump_vtable_layouts : Flag<"-fdump-vtable-layouts">,
HelpText<"Dump the layouts of all vtables that will be emitted in a translation unit">; HelpText<"Dump the layouts of all vtables that will be emitted in a translation unit">;
def femit_coverage_notes : Flag<"-femit-coverage-notes">, def femit_coverage_notes : Flag<"-femit-coverage-notes">,

Просмотреть файл

@ -800,7 +800,7 @@ def mrtd : Flag<"-mrtd">, Group<m_Group>, Flags<[CC1Option]>,
def msmall_data_threshold_EQ : Joined <"-msmall-data-threshold=">, Group<m_Group>; def msmall_data_threshold_EQ : Joined <"-msmall-data-threshold=">, Group<m_Group>;
def msoft_float : Flag<"-msoft-float">, Group<m_Group>, Flags<[CC1Option]>, def msoft_float : Flag<"-msoft-float">, Group<m_Group>, Flags<[CC1Option]>,
HelpText<"Use software floating point">; HelpText<"Use software floating point">;
def no_implicit_float : Flag<"-no-implicit-float">, Flags<[CC1Option]>, def mno_implicit_float : Flag<"-mno-implicit-float">,
HelpText<"Don't generate implicit floating point instructions">; HelpText<"Don't generate implicit floating point instructions">;
def msse2 : Flag<"-msse2">, Group<m_x86_Features_Group>; def msse2 : Flag<"-msse2">, Group<m_x86_Features_Group>;
def msse3 : Flag<"-msse3">, Group<m_x86_Features_Group>; def msse3 : Flag<"-msse3">, Group<m_x86_Features_Group>;

Просмотреть файл

@ -756,7 +756,7 @@ void Clang::AddARMTargetArgs(const ArgList &Args,
CmdArgs.push_back("-mno-global-merge"); CmdArgs.push_back("-mno-global-merge");
} }
if (Args.hasArg(options::OPT_no_implicit_float)) if (Args.hasArg(options::OPT_mno_implicit_float))
CmdArgs.push_back("-no-implicit-float"); CmdArgs.push_back("-no-implicit-float");
} }

Просмотреть файл

@ -7,5 +7,5 @@
// RUN: %clang -target i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2> %t.log // RUN: %clang -target i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2> %t.log
// RUN: grep '"-no-implicit-float"' %t.log // RUN: grep '"-no-implicit-float"' %t.log
// RUN: %clang -target armv7-apple-darwin10 -### -S -no-implicit-float %s 2> %t.log // RUN: %clang -target armv7-apple-darwin10 -### -S -mno-implicit-float %s 2> %t.log
// RUN: grep '"-no-implicit-float"' %t.log | count 1 // RUN: grep '"-no-implicit-float"' %t.log | count 1