What Features LLVM/Clang 3.2 Bring To The Table

Posted by Michael Larabel on December 23, 2012

While the features of LLVM 3.2 and its Clang C/C++ compiler front-end have been talked about in numerous Phoronix articles over the past few months, here's an overview of the new features for this open-source compiler infrastructure update that was released on Friday.

Key features for LLVM/Clang 3.2 include:

- An automatic loop vectorizer for delivering some performance improvements. This auto loop vectorizer will be advanced with LLVM 3.3 and then enabled by default while for now it requires a compile-time switch.

- Improved PowerPC processor support.

- Various processor support improvements, such as for Apple's latest ARM SoC and improving the Intel instruction set extension support (AVX2).

- Polly polyhedral optimizations including the integration of the PLUTO support, more MIT-licensed code rather than GPL, isl-based code generation, OpenMP code generation fixes, and other work.

- The new NVPTX back-end was integrated that was supplied by NVIDIA and is used by their OpenCL/CUDA compiler for GPGPU on GeForce/Quadro/Tesla graphics processors.

- Various optimizer improvements, but LLVM/Clang 3.2 compiler benchmarks haven't shown the new release to be dramatically faster than its predecessors for most workloads.

- Improved compiler warnings / debugging information for the Clang compiler front-end.

- DragonEgg, the GCC plug-in that allows using LLVM in GCC for its code generators and optimizers under several different programming languages, now allows for LLVM plug-ins to be loaded, supports thread-local storage models, passes variable life-time information to the LLVM optimizers, and can run with a non-LTO GCC build.

While this is a nice update for the increasingly popular open-source compiler, among the work not found in this new stable release is not yet any mainline OpenMP support with LLVM/Clang, Unified Parallel C, no OpenACC, and the recently-merged AMD Radeon R600 GPU back-end won't appear until LLVM 3.3.

Download the latest release and find out more information from LLVM.org.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. Steam: No used games...
  2. Intel Shows Off GNOME3-Based Tizen Shell
  3. A New X.Org-Free Wayland LiveCD Released
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Unity 8, Mir Made Progress This Week On Features
  6. Linux's "Ondemand" Governor Is No...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite