diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-12 03:03:13 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-12 03:03:13 +0000 |
commit | 4db738ae9862a2d00e2dca5b8fbf9d4dfa706142 (patch) | |
tree | f443934926716bfd4294d5157d3d4cf3bb79ceba /docs/CommandGuide | |
parent | 3e61374295693beb0a899af44ccf4b5085dffbf3 (diff) |
Reapply r158337, this time properly protect Darwin/PPC host CPU use with __ppc__.
Original commit message:
Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName().
Both the new Linux functionality and the old Darwin functions have been moved.
This change also allows this information to be queried directly by clang and
other frontends (clang, for example, will now have real -mcpu=native support).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions