[cfe-commits] r167647 - in /cfe/trunk: include/clang/Basic/BuiltinsNVPTX.def test/CodeGen/builtins-nvptx.c

Eli Friedman eli.friedman at gmail.com
Sat Nov 10 18:12:07 PST 2012


On Sat, Nov 10, 2012 at 7:06 AM, Justin Holewinski
<justin.holewinski at gmail.com> wrote:
> Blah, for some reason I was thinking "popc" == "sync". :(
>
> membar should be "n".
>
> Thanks for the catch!
>
> Side question though: what does Clang actually do with the "const" modifier?
> The intrinsics are not marked as affecting memory, so the optimizers should
> be be unaffected.

Off the top of my head, it affects -Wunused-result; not sure if it
affects anything else.

-Eli



More information about the cfe-commits mailing list