[PATCH] D61621: [X86] Make `x86intrin.h`, `immintrin.h` includable with `-fno-gnu-inline-asm`.

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 9 11:54:21 PDT 2019


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm, thanks!

In D61621#1496978 <https://reviews.llvm.org/D61621#1496978>, @vsapsai wrote:

> Didn't use `-fms-compatibility` in the test and it seems to be working fine.
>  Don't know if it is accidental and if I should add the flag.


`-fms-extensions` is probably all you need. That's the one that defines _MSC_VER.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61621/new/

https://reviews.llvm.org/D61621





More information about the cfe-commits mailing list