[CMake] Update regex to match typed arguments (#244963)
The regex used to match arguments in the cross-compiling case didn't
account for types and would fail to match.
[CMake] Fix variable name shadowing (#244962)
The append_passthrough_options macro has an argument named type, but it
also reads the property into the variable of the same name. Because
CMake macros perform textual substitution of the ${type} argument before
dereferencing the ${type} variable, passthrough options are emitted as
-DCMAKE_CXX_FLAGS:RUNTIMES=... instead of -DCMAKE_CXX_FLAGS:STRING=...
Attributor: Don't report a change when no functions are internalized
internalizeFunctions returned true for an empty set, so this reported
a change for every module and invalidated all function analyses even
when it did nothing.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
audio/portmidi: add sndio support/option and run depend on audio/alsa-seq-server
When ALSA is selected, while the library is linked, the functionality
does not work without the sequencer server, so run depend on it.
The audio/mixxx pkg-message loses usefulness or becomes inaccurate
depending on the OPTION selected here, so remove it.
PR: 293873
Approved by: maintainer-timeout
Event: The Ohio LinuxFest 2026
PHIElim: Trim PHI source subranges without a full shrinkToUses (#228488)
This contains a repurposed version of #226209, plus a supplemental fix
branch which was never posted. #228073 was an alternative implementation which
landed first; this replaces the brute-force shrinkToUses with targeted live range
adjustments. Some crude stress test benchmarking suggests this is 2-4x
faster measuring the pass in isolation.
shrinkToUses rescans every use of each subrange which is much more than is
necessary. The only segments that need changing are the ones ending at the
inserted phi source copies. Instead, track the per-lane copies as they are inserted
and trim each lane at its last read, clamped to the predecessor block, and stop
SplitCriticalEdge from extending subranges for lanes the PHI does not read. This
keeps the live ranges correct while avoiding the per-subrange rescans. The
shrinkToUses implementation's cost scales with the number of uses, but this remains
relatively flat. An example with 640 uses is 7.2x faster.
Because this edits segments surgically instead of recomputing them, it has to get the
bounds exactly right in cases shrinkToUses handles. The clamp to the predecessor
[14 lines not shown]
[lldb] Intern remaining SB API strings in the right pool (#244422)
Strings returned straight from a ConstString now go through the system
pool, or the owning debugger's pool. Only the strings that live in the
object itself (such as SBError, SBCommandReturnObject) and static
literals are left as they are.
SBDebugger::GetVersionString continues to use the global pool because it
can be called before SBDebugger::Initialize.
Assisted-by: Claude
[libc] Add strcmp benchmark
To guide some optimization work around implementing an optimized strcmp
implementation.
Assisted-By: LLM
Reviewers: petrhosek
Pull Request: https://github.com/llvm/llvm-project/pull/244924
[libc] Add a benchmark for strlen
Add a benchmark for strlen to guide optimization efforts.
Just reuse the SearchSetup that memchr uses by making it put a \0 at the
end.
Reviewers: petrhosek
Pull Request: https://github.com/llvm/llvm-project/pull/244923
OpenMPOpt: Invalidate function analyses individually
Avoid discarding analyses that never need to be invalidated, such as
TargetLibraryInfo.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
Merge tag 'xfs-fixes-7.4-rc4' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux
Pull xfs fixes from Carlos Maiolino:
"Mostly this includes fixes for a few races, an ordering problem during
init/teardown of proc/sysfs, missing locks, etc"
* tag 'xfs-fixes-7.4-rc4' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux:
xfs: test for realtime and reflink under the pNFS locks
xfs: don't enable DAX on zoned inodes
xfs: restart faults racing with realtime flag changes
xfs: take the MMAPLOCK in xfs_fileattr_set()
xfs: refuse fallocate racing with realtime flag changes
xfs: test for always COW after the dio write checks
xfs: refuse writes to files racing with realtime inode flag changes
xfs: test for reflink after the dio write checks
xfs: properly order xfsstats proc/sysfs init and teardown
xfs: remove unused variable in xrep_tempfile_copyin()
xfs: remove unused variable in xchk_stats_estimate_bufsize()
xfs: fix f_bfree underflow in statfs()
[8 lines not shown]
[libc] Fix dangling paths in line_reader_test (#244912)
Kept the CString returned by libc_make_test_file_path alive instead of
storing a pointer to its temporary string. The dangling pointers caused
intermittent failures when opening the test files.
Assisted-by: Gemini
[Clang] Check address space overlap for C-style casts to references
In OpenCL and SYCL, `TryAddressSpaceCast` rejects a pointer cast between
two address spaces that don't overlap, but a C-style cast to a reference
is not checked (there is a FIXME for it). As a result,
`(__local int &)global_var` is accepted and we emit an `addrspacecast`.
This PR checks such reference casts in the same way. We only check the
case where the reference binds to the operand directly, i.e. the two
types are related. Other casts to a reference are not affected.
This PR was assisted by AI but I reviewed all the changes.
[clang][CIR] Add tests for SVE RINTA intrinsics (#240756)
adds CIR tests for svrinta (plain SVE) intrinsics.
Moves and adapts `sve-intrinsics/acle_sve_rinta.c` to `sve/rinta.c`
Part of #223963