diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-16 00:46:26 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-16 00:46:26 +0000 |
| commit | 20d4701b3d8ac65e9d2e249e7cbc3bda58fd6902 (patch) | |
| tree | 427f813ed5b6d9ee5a69b7213294f98c1157b8e5 /clang/lib/Headers/module.modulemap | |
| parent | 7c907ccb48c259f48f12f321fb0944a8cf8dfbb7 (diff) | |
| download | bcm5719-llvm-20d4701b3d8ac65e9d2e249e7cbc3bda58fd6902.tar.gz bcm5719-llvm-20d4701b3d8ac65e9d2e249e7cbc3bda58fd6902.zip | |
[modules] Don't expose *intrin.h headers that cannot be included standalone as
separate modules. These cause build breakage with -fmodules-local-submodule-visibility.
llvm-svn: 266501
Diffstat (limited to 'clang/lib/Headers/module.modulemap')
| -rw-r--r-- | clang/lib/Headers/module.modulemap | 61 |
1 files changed, 12 insertions, 49 deletions
diff --git a/clang/lib/Headers/module.modulemap b/clang/lib/Headers/module.modulemap index 95cc5fbf972..4b2cb857a69 100644 --- a/clang/lib/Headers/module.modulemap +++ b/clang/lib/Headers/module.modulemap @@ -47,7 +47,19 @@ module _Builtin_intrinsics [system] [extern_c] { export * header "immintrin.h" + textual header "f16cintrin.h" + textual header "avxintrin.h" + textual header "avx2intrin.h" + textual header "avx512fintrin.h" + textual header "avx512erintrin.h" + textual header "fmaintrin.h" + header "x86intrin.h" + textual header "bmiintrin.h" + textual header "bmi2intrin.h" + textual header "lzcntintrin.h" + textual header "xopintrin.h" + textual header "fma4intrin.h" explicit module mm_malloc { header "mm_malloc.h" @@ -62,10 +74,6 @@ module _Builtin_intrinsics [system] [extern_c] { header "mmintrin.h" } - explicit module f16c { - header "f16cintrin.h" - } - explicit module sse { export mm_malloc export mmx @@ -103,46 +111,6 @@ module _Builtin_intrinsics [system] [extern_c] { header "ammintrin.h" } - explicit module avx { - export sse4_2 - header "avxintrin.h" - } - - explicit module avx2 { - export avx - header "avx2intrin.h" - } - - explicit module avx512f { - export avx2 - header "avx512fintrin.h" - } - - explicit module avx512er { - header "avx512erintrin.h" - } - - explicit module bmi { - header "bmiintrin.h" - } - - explicit module bmi2 { - header "bmi2intrin.h" - } - - explicit module fma { - header "fmaintrin.h" - } - - explicit module fma4 { - export sse3 - header "fma4intrin.h" - } - - explicit module lzcnt { - header "lzcntintrin.h" - } - explicit module popcnt { header "popcntintrin.h" } @@ -151,11 +119,6 @@ module _Builtin_intrinsics [system] [extern_c] { header "mm3dnow.h" } - explicit module xop { - export fma4 - header "xopintrin.h" - } - explicit module aes_pclmul { header "wmmintrin.h" export aes |

