aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-01-25 14:38:29 +0000
committerNico Weber <nicolasweber@gmx.de>2018-01-25 14:38:29 +0000
commit691300c945a0b1b48afeeee908a81b55cb486313 (patch)
tree62ac34f6b5558f10b9e84ec75d9f25180b119645 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentdf84234364adaba3c82bff5914d41df6ceffd36a (diff)
downloadllvm-691300c945a0b1b48afeeee908a81b55cb486313.zip
llvm-691300c945a0b1b48afeeee908a81b55cb486313.tar.gz
llvm-691300c945a0b1b48afeeee908a81b55cb486313.tar.bz2
clang-cl: Simplify handling of /arch: flag.
r213083 initially implemented /arch: support by mapping it to CPU features. Then r241077 additionally mapped it to CPU, which made the feature flags redundant (if harmless). This change here removes the redundant mapping to feature flags, and rewrites test/Driver/cl-x86-flags.c to be a bit more of an integration test that checks for preprocessor defines like AVX (like documented on MSDN) instead of for driver flags. To keep emitting warn_drv_unused_argument, use getLastArgNoClaim() followed by an explicit claim() if needed. This is in preparation for adding support for /arch:AVX512(F). No intended behavior change. https://reviews.llvm.org/D42497 llvm-svn: 323426
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions