diff options
author | Dan Gohman <gohman@apple.com> | 2009-02-03 00:04:43 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-02-03 00:04:43 +0000 |
commit | 7403751e16ab476c881ae24b1f58594d16f011d8 (patch) | |
tree | 6a23d05dc0468e37acf4979361ee1354cd7e1ee6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 72ba6df1a9860b60d0f741c0dcba3aa610375c13 (diff) | |
download | bcm5719-llvm-7403751e16ab476c881ae24b1f58594d16f011d8.tar.gz bcm5719-llvm-7403751e16ab476c881ae24b1f58594d16f011d8.zip |
Change Feature64Bit to not imply FeatureSSE2. All x86-64 hardware has
SSE2, however it's possible to disable SSE2, and the subtarget support
code thinks that if 64-bit implies SSE2 and SSE2 is disabled then
64-bit should also be disabled. Instead, just mark all the 64-bit
subtargets as explicitly supporting SSE2.
Also, move the code that makes -march=x86-64 enable 64-bit support by
default to only apply when there is no explicit subtarget. If you
need to specify a subtarget and you want 64-bit code, you'll need to
select a subtarget that supports 64-bit code.
llvm-svn: 63575
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions