[llvm] applying Floating-Point Numerical Sanitizer patch#9201
[llvm] applying Floating-Point Numerical Sanitizer patch#9201smuzaffar wants to merge 2 commits intoIB/CMSSW_16_1_X/masterfrom
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 |
|
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0d3956/48060/summary.html External BuildI found compilation error when building: 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
patching file llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
patching file llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.0T1ASU (%prep)
RPM build errors:
Macro expanded in comment on line 404: %{pkginstroot}/lib64
|
Added llvm Floating-Point Numerical Sanitizer llvm/llvm-project#85916
FYI @VinInn