This is an archive of the discontinued LLVM Phabricator instance.

[Modules] Enable the Modules language feature by default for the Clang builtins.
Needs ReviewPublic

Authored by eladcohen on Dec 17 2016, 10:56 PM.

Details

Summary

The motivation is to reduce the compile time of the Clang intrinsics header files. Furthermore, this should allow us to remove the feature guards from these headers D27896 and solve some MSVC compatibility issues regarding intrinsics.

See also the threads "The intrinsics headers (especially avx512) are too big. What to do about it?" and "clang-cl's <intrin.h>, _tzcnt_u32, and compatibility with MSVC's <intrin.h>" in cfe-dev.

Diff Detail

Event Timeline

eladcohen updated this revision to Diff 81874.Dec 17 2016, 10:56 PM
eladcohen retitled this revision from to [Modules] Enable the Modules language feature by default for the Clang builtins. .
eladcohen updated this object.
eladcohen added reviewers: rsmith, rnk, zvi, chandlerc, thakis.
eladcohen added a subscriber: cfe-commits.