aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-03 18:53:21 +0000
committerDan Gohman <gohman@apple.com>2009-02-03 18:53:21 +0000
commit561d1226b6a7b29d48b193f489d723d58e64d866 (patch)
tree4eee76373f16e667cd050f874627bc7f516f066a /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent70da8e8425e81198e298c5a5e7b7cec37aee3d69 (diff)
downloadllvm-561d1226b6a7b29d48b193f489d723d58e64d866.zip
llvm-561d1226b6a7b29d48b193f489d723d58e64d866.tar.gz
llvm-561d1226b6a7b29d48b193f489d723d58e64d866.tar.bz2
Tevert part of the x86 subtarget logic changes: when -march=x86-64
is given, override the subtarget settings and enable 64-bit support. This restores the earlier behavior, and fixes regressions on Non-64-bit-capable x86-32 hosts. This isn't necessarily the best approach, but the most obvious alternative is to require -mcpu=x86-64 or -mattr=+64bit to be used with -march=x86-64 when the host doesn't have 64-bit support. This makes things little more consistent, but it's less convenient, and it has the practical drawback of requiring lots of test changes, so I opted for the above approach for now. llvm-svn: 63642
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions