[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)
commita5ea0b50a48d9858c0858b42a8b6780b206fede7
tree0fe4143e5f2b6d7375f0373d6967ab465d684060
parentf316f2ea52196f572a05d607e6953274c399c8ce
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCSubtarget.cpp
test/CodeGen/PowerPC/ppc64le-aggregates.ll