[cfe-dev] [PROPOSAL] Reintroduce guards for Intel intrinsic headers

Eric Christopher echristo at gmail.com
Thu Jul 30 10:33:51 PDT 2015


>
>
> I don't see any downsides to reintroducing these guards.
>

Then you weren't really paying attention to the point of removing them :)

The idea is so that the headers can be used, with appropriate target
attributes, for any code.

You could check whether or not the routines are defined and then define
them. You could perhaps rewrite the code to use target attributes as well,
but that's quite a bit of work.

What kind of file is this? Keep in mind that things in the global namespace
prefixed with an underscore is a reserved name for implementers as well.
That would make this code not standards compliant as well.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150730/09afd253/attachment.html>


More information about the cfe-dev mailing list