[cfe-commits] r149301 - /cfe/trunk/lib/Basic/Targets.cpp
Nico Weber
nicolasweber at gmx.de
Mon Jan 30 15:53:44 PST 2012
Author: nico
Date: Mon Jan 30 17:53:44 2012
New Revision: 149301
URL: http://llvm.org/viewvc/llvm-project?rev=149301&view=rev
Log:
Revert r149285, it breaks test/Preprocessor/init.c.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=149301&r1=149300&r2=149301&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Jan 30 17:53:44 2012
@@ -570,10 +570,7 @@
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 @@
"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;
More information about the cfe-commits
mailing list