]> granicus.if.org Git - clang/commit
[lib/Headers] Break the module import cycle between _Builtin_intrinsics.sse and _Buil...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 27 Mar 2013 05:12:34 +0000 (05:12 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 27 Mar 2013 05:12:34 +0000 (05:12 +0000)
commit08aba1bc5536a4deabb8d0196bf30b80c61a0568
tree25462182c634c90995e6ec510a53f28e5611d3d2
parent9ef9875bbe19dc9f73c6c95b803d9a4945168690
[lib/Headers] Break the module import cycle between _Builtin_intrinsics.sse and _Builtin_intrinsics.sse2

Module "sse" implicitly exports module "sse2".
This is bad because we also have module "sse2" export module "sse" (as intended) so we end up with a cycle
in the module import graph:
1. sse2 -> (also imports) sse
2. sse -> (also imports) sse2

To eliminate the cycle remove 2.; importing module "sse2" will also import module "sse", but just importing
module "sse" will not also import module "sse2".

rdar://13240552

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178117 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/module.map
lib/Headers/xmmintrin.h