diff options
author | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-12-09 22:26:38 +0000 |
---|---|---|
committer | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-12-09 22:26:38 +0000 |
commit | dbb8a1d8e7317b423ac4d4502e9ba67a3856ed3c (patch) | |
tree | 60640603264db28a8a9ca06ae74253350616f2d4 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | 903ab8a2a3d74a7e71b64057530c0d93a94a19d3 (diff) | |
download | llvm-dbb8a1d8e7317b423ac4d4502e9ba67a3856ed3c.zip llvm-dbb8a1d8e7317b423ac4d4502e9ba67a3856ed3c.tar.gz llvm-dbb8a1d8e7317b423ac4d4502e9ba67a3856ed3c.tar.bz2 |
Fix the target specific "-msse3" flag check in CMake. NFC
msse3 is a target dependent flag and must be guarded as check_cxx_compiler_flag()
checks only for compiler error messages and ignores warnings. Earlier COMPILER_RT_HAS_MSSE3_FLAG
is set to "TRUE" for all targets as clang emits warnings and the compilation spits unnecessary
warnings for non-X86 targets. This issue is fixed by coupling the flag with "-Werror"
Differential Revision: http://reviews.llvm.org/D15362
llvm-svn: 255165
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions