diff options
author | Eric Christopher <echristo@gmail.com> | 2015-03-26 00:50:13 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-03-26 00:50:13 +0000 |
commit | 118ee4c07bc625dc3dbfcca82420938a6469d1ef (patch) | |
tree | ac07993d393510734a97f40973aabbf9b65a2909 /clang/include | |
parent | 7e9793f57a7f370eace867233c995e33392cf7e4 (diff) | |
download | bcm5719-llvm-118ee4c07bc625dc3dbfcca82420938a6469d1ef.tar.gz bcm5719-llvm-118ee4c07bc625dc3dbfcca82420938a6469d1ef.zip |
Add an explanatory comment as to why we're turning on and off
certain other options as aliases. There be dragons here.
llvm-svn: 233238
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/Driver/Options.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index bab4be9a433..593969c72f1 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1187,6 +1187,9 @@ def mno_sse3 : Flag<["-"], "mno-sse3">, Group<m_x86_Features_Group>; def mno_sse4a : Flag<["-"], "mno-sse4a">, Group<m_x86_Features_Group>; def mno_sse4_1 : Flag<["-"], "mno-sse4.1">, Group<m_x86_Features_Group>; def mno_sse4_2 : Flag<["-"], "mno-sse4.2">, Group<m_x86_Features_Group>; +// -mno-sse4 turns off sse4.1 which has the effect of turning off everything +// later than 4.1. -msse4 turns on 4.2 which has the effect of turning on +// everything earlier than 4.2. def mno_sse4 : Flag<["-"], "mno-sse4">, Alias<mno_sse4_1>; def mno_sse : Flag<["-"], "mno-sse">, Group<m_x86_Features_Group>; def mno_ssse3 : Flag<["-"], "mno-ssse3">, Group<m_x86_Features_Group>; |