-
Notifications
You must be signed in to change notification settings - Fork 183
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
[llvm] applying Floating-Point Numerical Sanitizer patch #9201
base: IB/CMSSW_14_2_X/master
Are you sure you want to change the base?
Conversation
please test |
A new Pull Request was created by @smuzaffar for branch IB/CMSSW_14_1_X/master. @aandvalenzuela, @smuzaffar, @iarspider can you please review it and eventually sign? Thanks. |
cms-bot internal usage |
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0d3956/39452/summary.html External BuildI found compilation warning when building: See details on the summary page. |
please test |
Pull request #9201 was updated. |
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0d3956/39453/summary.html External BuildI found compilation error when building: patching file llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll patching file llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll patching file llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll patching file llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll patching file llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.hXZZMU (%prep) RPM build errors: line 37: It's not recommended to have unversioned Obsoletes: Obsoletes: external+llvm+17.0.3-18bbc4ca84d2b4b92fa29e7ab26ed099 Macro expanded in comment on line 368: %{pkginstroot}/lib64 |
Is the patch broken? |
I see that the upstream PR (llvm/llvm-project#85916) is still under review, with various changes being applied. |
yes, it is broken. Though I have updated it ( e.g. cms-externals/llvm-project#15 ) to be patched on top of llvm 18.1.6 but the command
|
just in case - my original PR got split (per reviewers' request), currently llvm/llvm-project#85916 contains the instrumentation pass only, the newly added tests can be run via |
@alexander-shaposhnikov thanks for the info. |
@VinInn - one can give it a try with a few caveats: the tool is very experimental, the coverage is incomplete (most notable blind spots are vector intrinsics and half precision). If you'd like - I can put together a combined (updated) version similar to my initial PR with all the components (instrumentation pass, runtime (compiler-rt), frontend/driver (clang)) and push it into my github repo. In this case you'll be able to run all the in-tree numerical tests via |
Thanks @alexander-shaposhnikov for the very complete answer. Thanks |
Added llvm Floating-Point Numerical Sanitizer llvm/llvm-project#85916
FYI @VinInn