diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-07-30 01:45:17 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-07-30 01:45:17 +0000 |
commit | 78bea23be0271f47b9ad1fd212babca544e23e4a (patch) | |
tree | 0701f920edf971a4e99d65a0c08a8b3f8e3c90ae /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 0e776a2250e0c269aefae5d04598199545ce9bd2 (diff) | |
download | llvm-78bea23be0271f47b9ad1fd212babca544e23e4a.zip llvm-78bea23be0271f47b9ad1fd212babca544e23e4a.tar.gz llvm-78bea23be0271f47b9ad1fd212babca544e23e4a.tar.bz2 |
[CMake] Pass -march=i686 when targeting i686 (PR24222)
Clang will not define __i686__, even when the target triple is i686,
without -march=i686.
With this patch, the compiler-rt build will successfully detect that
Clang can target i686.
The open_memstream.cc test is a little funny. Before my patch, it
was invoked with "-m32 -m64". To make it work after my -march
change, I had to add '-march=x86-64'.
Differential Revision: http://reviews.llvm.org/D11618
llvm-svn: 243604
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions