Some tests have been fixed by
Details
Diff Detail
- Repository
- rT test-suite
- Build Status
Buildable 249557 Build 388155: arc lint + arc unit
Event Timeline
Fortran/gfortran/regression/gomp/DisabledFilesHLFIR.cmake | ||
---|---|---|
9 | It might be preferable to have something like this to indicate where SKIPPED_FILES has been defined instead of just omitting it altogether. While omitting it will work, but being explicit - if a bit verbose - might make maintenance easier. set(SKIPPED_FILES "") |
Fortran/gfortran/regression/gomp/DisabledFilesHLFIR.cmake | ||
---|---|---|
9 | @vzakhari asked on my last patch that I reset the variables once in CMakeLists.txt and not mention them in every included file. https://reviews.llvm.org/D156130#4532372 But if you would rather keep the set(VARIABLE "") then I don't mind changing |
Fortran/gfortran/regression/gomp/DisabledFilesHLFIR.cmake | ||
---|---|---|
9 | I'm not fan of all those empty declarations in the files either and agree that it would be better to declare them just once in that macro. However, I would prefer to leave them be for now. There may be more churn on that front as development continues and having those be explicit seems preferable to me. I would prefer to get rid of the unnecessary files when things are more stable and there is less likelihood of having to reintroduce those lists because of some new feature development. If @vzakhari has strong views the other way, I'm willing to defer to those. |
Fortran/gfortran/regression/gomp/DisabledFilesHLFIR.cmake | ||
---|---|---|
9 | It sounds like trying to use code redundancy for documentation. If this is the reason you want to have the empty set commands, may I suggest just putting a link to the documentation describing all the support variables into each feature cmake file? This way if we need to change the set of supported variables, we do not need to go through all the dummy set commands and renamed/delete them. |
@tblah On x86_64, with HLFIR enabled, regression/achar_4.f90 fails with the error 'fir.convert' op invalid type conversion. I don't think it is related to this patch, but I am not sure. I assume that you are on AArch64 and don't see this?
Fortran/gfortran/regression/gomp/DisabledFilesHLFIR.cmake | ||
---|---|---|
9 | @vzakhari That's a fair point. I'm working on updating the list of top-level disabled tests. I'll consider performing some sort of cleanup then. |
I can't reproduce that on my aarch64 machine, although this test doesn't look like it should change much between architectures. I tested on llvm-project commit eb6987027e0504adcdc319f080a9ea48aab2a72a both with and without optimization flags.
But if it doesn't pass for you, I think we should disable it for now (it should be removed from Fortran/gfortran/regression/EnabledFilesHLFIR.cmake). But I think it should be done separately to this patch as it is unrelated. Let me know if you would like me to put a patch up for this.
I just checked again on 29dec352124a5fc1dcf03a640c2621496651ee90 and it still breaks.
A separate patch will be helpful. Thanks!
It might be preferable to have something like this to indicate where SKIPPED_FILES has been defined instead of just omitting it altogether. While omitting it will work, but being explicit - if a bit verbose - might make maintenance easier.