diff options
author | Tanya Lattner <tonic@nondot.org> | 2009-02-04 23:16:46 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2009-02-04 23:16:46 +0000 |
commit | 2097f1b25c42f6c3426d846c19340d69613dac3f (patch) | |
tree | d6fc5e5432d1ae05ba1d9a0624863bc88f54a706 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 402c6d7e7eb0c431cac2a5848b7ce0fac8721828 (diff) |
Merge from mainline.
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_25@63792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions