[llvm-commits] [llvm] r155761 - /llvm/trunk/include/llvm/Support/type_traits.h

Chris Lattner clattner at apple.com
Sat Apr 28 16:00:28 PDT 2012


On Apr 28, 2012, at 9:22 AM, Benjamin Kramer wrote:

> Author: d0k
> Date: Sat Apr 28 11:22:31 2012
> New Revision: 155761
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=155761&view=rev
> Log:
> If the __is_trivially_copyable type trait is available use it as the baseline for isPodLike.
> 
> This way we can enable the POD-like class optimization for a lot more classes,
> saving ~120k of code in clang/i386/Release+Asserts when selfhosting.

Wow, nice!

-Chris



More information about the llvm-commits mailing list