diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-07-08 23:31:17 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-07-08 23:31:17 +0000 |
| commit | 3346582bca29a077d24362f3dbea45f96d693904 (patch) | |
| tree | 0398f3187f1a8e0ebcf732a78bd8bd57e373a522 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 07398b5d48c92bea7de6032e46ab5d39a204fb15 (diff) | |
| download | llvm-3346582bca29a077d24362f3dbea45f96d693904.zip llvm-3346582bca29a077d24362f3dbea45f96d693904.tar.gz llvm-3346582bca29a077d24362f3dbea45f96d693904.tar.bz2 | |
Change -mno-mmx to be more compatible with gcc. Specifically, -mno-mmx should not imply -mno-sse.
Note that because we don't usually touch the MMX registers anyway, all -mno-mmx needs to do is tweak the x86-32 calling convention a little for vectors that look like MMX vectors, and prevent the definition of __MMX__.
clang doesn't actually stop the user from using MMX inline asm operands or MMX builtins in -mno-mmx mode; as a QOI issue, it would be nice to diagnose, but I doubt it really matters much.
<rdar://problem/9694837>
llvm-svn: 134770
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
