If compiling for PPC on an i386 box, the LTO wouldn't get the altivec (and
authorBill Wendling <isanbard@gmail.com>
Wed, 18 Jun 2008 06:35:30 +0000 (06:35 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 18 Jun 2008 06:35:30 +0000 (06:35 +0000)
commit604a818463b9a7797f8e2806d6c192949b490300
tree897949ca7e90f4c128d2712b3ee4deca32bfce9e
parent0521e3cdc146cdd37768dc44e9069862805f208d
If compiling for PPC on an i386 box, the LTO wouldn't get the altivec (and
other) feature information. The workaround is inelegant and could be cleaned up
if this information were available some other way (say, in the IR).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52447 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lto2/LTOCodeGenerator.cpp
tools/lto2/LTOModule.cpp