[cfe-commits] r58360 - /cfe/trunk/lib/Headers/mmintrin.h

Chris Lattner clattner at apple.com
Tue Oct 28 22:12:10 PDT 2008


On Oct 28, 2008, at 8:37 PM, Daniel Dunbar wrote:

> Author: ddunbar
> Date: Tue Oct 28 22:37:55 2008
> New Revision: 58360
>
> URL: http://llvm.org/viewvc/llvm-project?rev=58360&view=rev
> Log:
> Fix mmintrin.h to use proper definition of functions taking no
> arguments.
> - More important than it looks, this inhibits trivial inlining
>   otherwise.

Aha.  Interesting point: llvm-gcc compiles:

void foo();

to "void @foo(...)"

but:

void foo() { }

to "void @foo()"

Clang should probably do the same.

-Chris



More information about the cfe-commits mailing list