]> granicus.if.org Git - clang/commitdiff
Revert r149285, it breaks test/Preprocessor/init.c.
authorNico Weber <nicolasweber@gmx.de>
Mon, 30 Jan 2012 23:53:44 +0000 (23:53 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 30 Jan 2012 23:53:44 +0000 (23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149301 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 066439cd7b2cf696bbacc2dd559ea01aeadf9f1c..39bb8697dc5d1b1bb0aa646d70d18d1e56390b96 100644 (file)
@@ -570,10 +570,7 @@ class PPCTargetInfo : public TargetInfo {
   static const char * const GCCRegNames[];
   static const TargetInfo::GCCRegAlias GCCRegAliases[];
 public:
-  PPCTargetInfo(const std::string& triple) : TargetInfo(triple) {
-    LongDoubleWidth = LongDoubleAlign = 128;
-    LongDoubleFormat = &llvm::APFloat::PPCDoubleDouble;
-  }
+  PPCTargetInfo(const std::string& triple) : TargetInfo(triple) {}
 
   virtual void getTargetBuiltins(const Builtin::Info *&Records,
                                  unsigned &NumRecords) const {
@@ -857,7 +854,6 @@ public:
                         "i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32";
 
     switch (getTriple().getOS()) {
-    case llvm::Triple::Linux:
     case llvm::Triple::FreeBSD:
     case llvm::Triple::NetBSD:
       SizeType = UnsignedInt;