[PowerPC] Complete setting the baseline for ppc64le
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 29 Jan 2015 15:59:09 +0000 (15:59 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 29 Jan 2015 15:59:09 +0000 (15:59 +0000)
commit8cf15ced8ca334e177dd7416ba1d8df0e57ba170
treeaf95c5ff5b5060072ccf5daa9d11766f40508e5f
parent78bfb7c3a772330fe735f8c70dd1d6c212bb6056
[PowerPC] Complete setting the baseline for ppc64le

Patch by Nemanja Ivanovic.

As was uncovered by the failing test case (when run on non-PPC
platforms), the feature set when compiling with -march=ppc64le was not
being picked up. This change ensures that if the -mcpu option is not
specified, the correct feature set is picked up regardless of whether
we are on PPC or not.

llvm-svn: 227455
llvm/lib/Target/PowerPC/PPCSubtarget.cpp
llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll