Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 21:06:58 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   HEADS UP: Updated llvm/clang to 3.4 in r261991
Message-ID:  <6FA0FC8C-ABAA-433A-94AF-43AF84AD2AE4@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_A64F6D5F-88DC-4AA3-9F89-04E832341CB0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

Hi,

I have just upgraded our copy of llvm/clang to 3.4 release, in r261991.
This version supports all of the features in the current working draft
of the upcoming C++ standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3.  The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>;
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>;

Note that building lldb (using WITH_LLDB) will not work at this point,
since our lldb snapshot was locally modified to be able to work with the
old llvm 3.3 API.  Ed Maste will most likely fix this very soon (and
maybe import a new snapshot, I hope :-).

Another important aspect for end-users and ports maintainers is the new
compiler flag handling in clang 3.4.  It has become more strict, in the
sense that it will now error out on flags it does not recognize, in
particular most gcc-specific optimization fine-tuning flags.

Some ports which blindly use such gcc-specific flags will therefore be
broken, but these are usually very easy to fix.  During the exp-run
which was done with this new version of clang, several ports with the
highest number of dependent ports (open-motif, libtheora, boost-libs,
etc) have already been handled, but more work still needs to be done.

Last but not least, I hope we can now start using clang for more of our
existing architectures, like powerpc, mips, and possibly even new ones
like arm64.  Enjoy!

-Dimitry


--Apple-Mail=_A64F6D5F-88DC-4AA3-9F89-04E832341CB0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlMBGmYACgkQsF6jCi4glqPLBQCcD6vHZTgqcrtekSJhhEp/+yC0
nPEAoNa0lQ/GlIGSrQib2WerZVEvzsxV
=njzp
-----END PGP SIGNATURE-----

--Apple-Mail=_A64F6D5F-88DC-4AA3-9F89-04E832341CB0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6FA0FC8C-ABAA-433A-94AF-43AF84AD2AE4>