This is an archive of the discontinued LLVM Phabricator instance.

Disable Univariate3D_Invert to workaround module build failure
Needs ReviewPublic

Authored by steven_wu on Dec 16 2022, 2:07 PM.

Details

Summary

Disable test to workaround build failures when bootstrap with modules:
https://github.com/llvm/llvm-project/issues/59562

Diff Detail

Event Timeline

steven_wu created this revision.Dec 16 2022, 2:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2022, 2:07 PM
Herald added a subscriber: ributzka. · View Herald Transcript
steven_wu requested review of this revision.Dec 16 2022, 2:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2022, 2:07 PM
sdesmalen added inline comments.Dec 20 2022, 8:00 AM
llvm/unittests/Support/LinearPolyBaseTest.cpp
171

I'm not sure that I understand either the problem or the solution :)

Is there a bug in Clang that this doesn't compile correctly when using modules? Or is there perhaps something wrong with the implementation of operator- (e.g. it not being correct/compliant yet GCC/Clang always accepted it).

Is this failure somehow specific to Darwin?

steven_wu added inline comments.Dec 20 2022, 10:49 AM
llvm/unittests/Support/LinearPolyBaseTest.cpp
171

I think Darwin bots is the only one that runs module build from a bootstrapped compiler. I don't know this affect other platform, most likely yes. Unfortunately we don't have a flag to check if module is enabled (?). This is not a bug fix, just to get the bots green again.

This is a bug in clang module I think. @vsapsai can comment on it more but some changes in clang frontend triggered the failure. Unfortunately, the bots was broken for a long time so we can't revert cleanly the offending commits when we find it. Temporarily disable this test on Darwin bots so we can caught regression like this earlier.