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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Raspberry Pi Gets New Wayland Weston Renderer
  2. Debian GNU/Hurd 2013 Release Brings New Packages
  3. Intel Ultrabook Performance Is Faster With Mesa 9.2
  4. Hot Relocation HDD To SSD Support For Btrfs
  5. Phoronix Test Suite 4.6.0 "Utsira" Released
  6. New Intel X.Org Driver Supports All Of Haswell
  7. SQLite Now Faster With Memory Mapped I/O
  8. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  9. Qt For Tizen Launches, Based On Qt 5.1
  10. KTAP Released For Linux Kernel Dynamic Tracing
  11. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
Latest Forum Talk
  1. Chrome 27 Loads Web Pages Faster
  2. AMD Catalyst 13.4 Final
  3. Microsoft Releases Skype For Linux 4.2, Has...
  4. Raspberry Pi Gets New Wayland Weston Renderer
  5. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  6. Debian GNU/Hurd 2013 Release Brings New Packages
  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