-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two build warnings in CLANG DataFormats/Math/test/CholeskyInvert_t.cpp #32746
Comments
A new Issue was created by @mrodozov Mircho Rodozov. @Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign reconstruction |
I see @smuzaffar silenced the warning in #29790 for LLVM 9. Was it the (already distant) upgrade to LLVM 10 that made the warning to reappear? |
I was reading this which
compiles without warning. The problem is with the cholesky function not being able to work with the vectorization |
@VinInn |
@VinInn would you suggest how to proceed with this, please :) A kind reminder |
the doc is this one https://llvm.org/docs/Vectorizers.html |
In the Clang IB we have two warnings due to
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/cff53344cac83c1abd88bb561d95fc5c/opt/cmssw/slc7_amd64_gcc900/cms/cmssw/CMSSW_11_3_CLANG_X_2021-01-25-2300/src/DataFormats/Math/test/CholeskyInvert_t.cpp:48:6: warning: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning]
which says clang unable to vectorize a loop
probably around the pragmas in the same file
https://github.com/cms-sw/cmssw/blob/master/DataFormats/Math/test/CholeskyInvert_t.cpp#L97
Full log is in:
https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc7_amd64_gcc900/CMSSW_11_3_CLANG_X_2021-01-25-2300/DataFormats/Math
One hint is there is a option to be enabled in our llvm build to enable clang to vectorize loops (have not tried yet if the problem is in the llvm external).
The text was updated successfully, but these errors were encountered: