[llvm] r185583 - [PowerPC] FreeBSD does not require f128 in its data layout string.

Bill Schmidt wschmidt at linux.vnet.ibm.com
Wed Jul 3 14:03:35 PDT 2013


Author: wschmidt
Date: Wed Jul  3 16:03:35 2013
New Revision: 185583

URL: http://llvm.org/viewvc/llvm-project?rev=185583&view=rev
Log:
[PowerPC] FreeBSD does not require f128 in its data layout string.

Long double is 64 bits on FreeBSD PPC, so the f128 entry is superfluous.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h

Modified: llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h?rev=185583&r1=185582&r2=185583&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h Wed Jul  3 16:03:35 2013
@@ -128,7 +128,7 @@ public:
     // documentation are wrong; these are correct (i.e. "what gcc does").
     if (isPPC64() && isSVR4ABI()) {
       if (TargetTriple.getOS() == llvm::Triple::FreeBSD)
-        return "E-p:64:64-f64:64:64-i64:64:64-f128:64:64-v128:128:128-n32:64";
+        return "E-p:64:64-f64:64:64-i64:64:64-v128:128:128-n32:64";
       else
         return "E-p:64:64-f64:64:64-i64:64:64-f128:128:128-v128:128:128-n32:64";
     }





More information about the llvm-commits mailing list