On Tue, 2014-03-11 at 13:08 -0700, Chandler Carruth wrote: > This could probably use a basic test case.
On Tue, 2014-03-11 at 16:10 -0400, Rafael EspĂndola wrote: > a testcase would be nice. Noted. :-) I'll get testcases built up for this and the other patches. Thanks, -Will > > > On Tue, Mar 11, 2014 at 12:54 PM, Will Schmidt > <[email protected]> wrote: > Add a stanza for the ppc64le target, and update the > DescriptionString for PPC64LE. > --- > tools/clang/lib/Basic/Targets.cpp | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/tools/clang/lib/Basic/Targets.cpp > b/tools/clang/lib/Basic/Targets.cpp > index 339a5d2..93db187 100644 > --- a/tools/clang/lib/Basic/Targets.cpp > +++ b/tools/clang/lib/Basic/Targets.cpp > @@ -1246,8 +1246,13 @@ public: > LongDoubleWidth = LongDoubleAlign = 64; > LongDoubleFormat = &llvm::APFloat::IEEEdouble; > DescriptionString = "E-m:e-i64:64-n32:64"; > - } else > - DescriptionString = "E-m:e-i64:64-n32:64"; > + } else { > + if ((Triple.getArch() == llvm::Triple::ppc64le)) { > + DescriptionString = "e-m:e-i64:64-n32:64"; > + } else { > + DescriptionString = "E-m:e-i64:64-n32:64"; > + } > +} > > // PPC64 supports atomics up to 8 bytes. > MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64; > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
