]> granicus.if.org Git - clang/commit
Centralize the logic for handling -m* options and fix pr16943.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 20 Aug 2013 18:57:55 +0000 (18:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 20 Aug 2013 18:57:55 +0000 (18:57 +0000)
commitc84ed54f9786638c228fdc9b4db9920fa676d48d
treeba5ac27eee9b468dc4fa0da7db51cd0a0d09975c
parenta46c6c3baa0bb24987b44ac7a5543fa60e8b639e
Centralize the logic for handling -m* options and fix pr16943.

This moves the logic for handling -mfoo -mno-foo from the driver to -cc1. It
also changes -cc1 to apply the options in order, fixing pr16943.

The handling of -mno-mmx -msse is now an explicit special case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188817 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
lib/Driver/Tools.cpp
test/Driver/x86_features.c
test/Preprocessor/x86_target_features.c