[qt/clang/llvm-project]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/clang/llvm-project Pushed by mirror-service into branch 'upstream/users/arsenm/move-libcall-lowering-info-to-analysis'. Changed from 0000000000000000000000000000000000000000 to 581b505ee5988f81901c79ed9b1cc66a8d2c632e Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 581b505ee5988f81901c79ed9b1cc66a8d2c632e by Matt Arsenault on 17/07/2026 at 11:42.. Analysis: Move LibcallLoweringInfo from CodeGen to Analysis Middle end passes need to be able to reason about library call availability and potentially emit them without depending on codegen. TargetLibraryInfo already lives in Analysis, and this is a step towards the eventual merger. For now this is a mostly mechanical move, type erasing the reference to TargetSubtargetInfo. The per-subtarget customization (TargetSubtargetInfo::initLibcallLoweringInfo) is inverted into a caller-supplied function_ref, so the Analysis types carry no CodeGen/TargetSubtargetInfo reference. The module map is keyed on an opaque erased pointer. CodeGen continues looking up based on the subtarget. It is not yet in a state where it is usable from middle end passes; that will come later. In principle we should be able to write arbitrary rules based on a function's ABI attributes for which calls can be used. Co-authored-by: Claude (Claude Opus 4.8) <[email protected]> https://invent.kde.org/qt/clang/llvm-project/-/commit/581b505ee5988f81901c79ed9b1cc66a8d2c632e