[PATCH] D126907: Deferred Concept Instantiation Implementation Take 2

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 06:28:27 PDT 2022


erichkeane added a comment.

In D126907#3715436 <https://reviews.llvm.org/D126907#3715436>, @ChuanqiXu wrote:

> In D126907#3712363 <https://reviews.llvm.org/D126907#3712363>, @erichkeane wrote:
>
>> In D126907#3711956 <https://reviews.llvm.org/D126907#3711956>, @ChuanqiXu wrote:
>>
>>> In D126907#3710656 <https://reviews.llvm.org/D126907#3710656>, @erichkeane wrote:
>>>
>>>> Ok, fixed the test failure in clang, AND it managed to fix 
>>>> all the failures in libcxx!
>>>>
>>>> HOWEVER, it appears that libcxx/test/libcxx/modules_include.sh.cpp
>>>> is now hanging?
>>>>
>>>> I don't know much about the modules implementation (perhaps someone
>>>> like @ChuanqiXu  can help out?), so I'm at least somewhat stuck until
>>>> I can figure out how to get it to give me more info.
>>>
>>> I may not be able to look into the details recently. What's the error message from the modules?
>>
>> Looking deeper... this test is a monstrosity (https://github.com/llvm/llvm-project/blob/main/libcxx/test/libcxx/modules_include.sh.cpp), and I'm not necessarily sure it is necessarily modules-related, other than enabling it on every header.  So it just seems like one of the STL headers is taking significantly longer to compile?  I have no idea how to move forward with this... it AT LEAST "finishes", but it takes a very long time to get through now.
>
> I tried to reproduce and I am not sure if reproduced. With this patch, `modules_include.sh.cpp` takes 562s to complete. And without this patch, it takes a 557s. So it looks not your fault.

Hmm... ok, thanks for checking!  I'm going to try to prove to myself that it isn't too bad then.  This might just be a case of the Debug version of this taking a horribly long-time and me not noticing it normally.

If that is the case, I think this is ready for review!


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

https://reviews.llvm.org/D126907



More information about the cfe-commits mailing list