AlwaysInliner: Preserve the function analysis manager proxy
AlwaysInliner already updates the analyses of the functions it inlines
or deletes, but did not preserve FunctionAnalysisManagerModuleProxy,
which ends up clearing every cached function analysis in the module.
This doesn't make much difference in CTMark since few of the programs
use alwaysinline, with the exception of kimwitu++ k.bc (-0.50%).
always_inline is well overused in GPU code, so a sample of 441 ROCm
bitcode files show a -0.08% geomean improvement.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[compiler-rt] Fill Windows runtime version metadata (#243544)
Windows compiler-rt DLLs lack descriptions, copyright information and
original filenames, and their numeric ProductVersion is zero.
Fill the descriptive fields and identify ASan as "AddressSanitizer
runtime". Record the actual DLL filename and set numeric ProductVersion
to the same numeric version as FileVersion.
drm/amd/display: Drop clock requirements on DCN32 when no displays are active
From Misha Nasledov
72e3ca067ae5b9a5e491cec4ab72d12b9c308065 in linux-6.18.y/6.18.64
bba4dc3306483335ddbe065c05b2d8359ec387a4 in mainline linux
drm/amd/display: Fix NULL deref in dcn401_update_clocks_update_dtb_dto
From Roman Demidov
8f7b663d23f3b66c97afc5f8e36b63388322bc53 in linux-6.18.y/6.18.64
7fac15d009cf236677a8cddf6bc0e8c85666ac3b in mainline linux
[lldb] Run module scripts' --at-initial-stop hooks at the current stop (#243394)
A module's dSYM script often adds a stop hook from
`__lldb_module_added_to_target`, to do something once the process can be
read, and adds it with `--at-initial-stop` so it also runs when LLDB
first gains control of the process. That covers a script that LLDB loads
before that stop, like when it attaches or loads a core file. But when
the module joins a target whose process already stopped, for example
with `target modules add`, or by turning on
`target.load-script-from-symbol-file` as LLDB's warning suggests, that
stop already ran its stop hooks, so the stop hook waits for the process
to stop again. To avoid that, the script has to check whether there's a
stopped process and do the work itself.
This patch solves that by collecting the stop hooks, and the hooks from
`target hook add`, that a module's `__lldb_module_added_to_target` adds.
When it returns, if the process already stopped, we run the ones added
with `--at-initial-stop` right away. We don't resume the process,
whatever they vote, since resuming it is up to the user. If the process
[13 lines not shown]
drm/amdgpu/gfx12: disallow GFXOFF while updating the SPM VMID
From Jesse Zhang
cd38a2b45edf84324ee9572c09c279fd4ebec5fc in linux-6.18.y/6.18.64
d1551515a3258b43cba60bd7f45bbdd1f4e9e60a in mainline linux
drm/amd/display: Avoid closing unowned DDC pins
From Alex Hung
5605c171019d14a12327bf41dee7d0851ce2036c in linux-6.18.y/6.18.64
e7ba638b8116cb5f1a5690f543052371215f1626 in mainline linux
drm/amdgpu: publish IH enabled before PSP programs IH_RB_CNTL
From Milan Milicevic
9e873899435d8dd75182d23e50afd751c0a4bca3 in linux-6.18.y/6.18.64
9d550dd1a3b4b96da49f3560a84b5c2413a88cd3 in mainline linux
drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for navi10_ih
From Milan Milicevic
00ae61183bff39238018de3db81d835d87618b42 in linux-6.18.y/6.18.64
146b96974b33b8cca52755ffed3cd24a82836013 in mainline linux
drm/amdgpu: finish GPU recovery callbacks before restarting schedulers
From Prike Liang
78059ded097db9609f998630358efc4051954475 in linux-6.18.y/6.18.64
733389cb31e2c55e355410759fdc68afe74a4582 in mainline linux
RegisterCoalescer: Only shrink subranges in ShrinkMask after a join (#243348)
When joinCopy needs to shrink the main range, shrinkToUses was called
on the whole interval. This also shrinks every subrange. If the join
did not set ShrinkMainRange, no subrange is ever shrunk, so the join
is already trusted to leave only the subranges in ShrinkMask needing
it. The other reasons for shrinking the main range (pruned main range
values, uses that now read only undef lanes) do not change any
subrange. Pass ShrinkMask to shrinkToUses to restrict which subranges
it shrinks, unless the source interval was in ToBeUpdated.
llc instructions:u, AMDGPU sample: -0.11%
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
drm/amdgpu: check amdgpu_vm_ready() in dma-buf move notify
From Dariusz Marcinkiewicz
357f2a753287d878ba13d49248c55343bb5e0090 in linux-6.18.y/6.18.64
920ca822f527e45ce084b36f3c420b625eb7c62a in mainline linux
drm/amdkfd: use the queue's process info for the WPTR BO eviction fence
From Jesse Zhang
c964cd06eb35d2ca2d9b49a7423b5d5cd01441c0 in linux-6.18.y/6.18.64
da2897ee8b811945fd40ecc4aaf03291c14ce61c in mainline linux