diff options
| author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-12-09 16:59:57 +0000 | 
|---|---|---|
| committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-12-09 16:59:57 +0000 | 
| commit | efe9ce216e57d99105fc6d5a0dc0486f6ab6e1f8 (patch) | |
| tree | c2421504d017e75ae0bac7a5e29140daff2ddc87 /llvm/lib/Target | |
| parent | 3014435ca93d284551f72c5558194d511edca93a (diff) | |
| download | bcm5719-llvm-efe9ce216e57d99105fc6d5a0dc0486f6ab6e1f8.tar.gz bcm5719-llvm-efe9ce216e57d99105fc6d5a0dc0486f6ab6e1f8.zip  | |
[PowerPC 4/4] Enable little-endian support for VSX.
With the foregoing three patches, VSX instructions can be used for
little endian.  This patch removes the restriction that prevented
this, and re-enables the test cases from the first three patches.
llvm-svn: 223792
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 7 | 
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp index 04e7ec66e5b..8f0e3a49ee9 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp @@ -154,13 +154,6 @@ void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {    // Determine endianness.    IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); -  // FIXME: For now, we disable VSX in little-endian mode until endian -  // issues in those instructions can be addressed. -  if (IsLittleEndian) { -    HasVSX = false; -    HasP8Vector = false; -  } -    // Determine default ABI.    if (TargetABI == PPC_ABI_UNKNOWN) {      if (!isDarwin() && IsPPC64) {  | 

