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 | f75e5b4d8cbbec83924a3186a167a03564e5c373 (patch) | |
tree | d62257faa741547d30db110a16ac88d7c025560e /lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | |
parent | ca57b84729303d6f0c5abf951563efcde97010cd (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp')
0 files changed, 0 insertions, 0 deletions