Set default CPU for Darwin targets with LTO. <rdar://problem/12457841>
authorBob Wilson <bob.wilson@apple.com>
Fri, 12 Oct 2012 17:39:25 +0000 (17:39 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 12 Oct 2012 17:39:25 +0000 (17:39 +0000)
commit3f7e7c061c9ef9c3452c25da2ac7ea1bb4079509
treefd13fafa15340ad47781b6c382f442bbbb98f990
parent28eb57114d05dd100d9b4a56e0a00be85cd09e3b
Set default CPU for Darwin targets with LTO. <rdar://problem/12457841>

This is a temporary hack until Bill's project to record command line options
in the LLVM IR is ready. Clang currently sets a default CPU but that isn't
recorded anywhere and it doesn't get used in the final LTO compilation.

llvm-svn: 165809
llvm/tools/lto/LTOCodeGenerator.cpp
llvm/tools/lto/LTOModule.cpp