LLVM/project 124a0d5clang/unittests/Basic FileManagerTest.cpp

[clang][test] Remove unnecessary `FileManager` arguments (#225467)

This test was introduced in commit
dfffaf579f2b4bc9184c23f271a57e1fa1ed6f01 and wrongly passed the file
size and modification time to a lookup function that takes two bools.
This PR fixes that by removing the superfluous arguments.
DeltaFile
+1-1clang/unittests/Basic/FileManagerTest.cpp
+1-11 files

LLVM/project f542556llvm/lib/Analysis ConstraintSystem.cpp, llvm/lib/Transforms/Scalar ConstraintElimination.cpp

[ConstraintElim] Link values to decompositions during queries if needed. (#224623)

Decomposition is context sensitive and uses information at the query
point to determine if operations have the required wrap flags.

This can lead to situation where at the time facts are added, we fail to
decompose an operation (like `%y = add %x, 1`), and only add it as
variable `%y`.

If at query time, we can decompose `%y`, the query will contains `%x`
and `1`
as variable/constant, with no connection to the fact added earlier.

This can pessimize results in some cases. To avoid this, add additional
rows connecting the variable and the decomposition (e.g.` %y ==
decompose
(add %x, 1))` and re-try the query.

For now, only check top-level operands. This helps with a few cases in

    [13 lines not shown]
DeltaFile
+124-0llvm/test/Transforms/ConstraintElimination/decompose-at-use.ll
+55-1llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+2-0llvm/lib/Analysis/ConstraintSystem.cpp
+181-13 files

FreeBSD/src ab636e4usr.sbin/jail config.c

jail(8): Preserve const qualifier on strchr(3) results

Reviewed by:    fuz, dteske
Approved by:    fuz (mentor), dteske (mentor)
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D59876
DeltaFile
+3-3usr.sbin/jail/config.c
+3-31 files

LLVM/project 4c6b186llvm/include/llvm/MC MCRegisterInfo.h, llvm/lib/DebugInfo/DWARF DWARFExpressionPrinter.cpp

[TableGen][AMDGPU][RFC] Write register names rather than return them

MCRegisterInfo::getName() and TargetRegisterInfo::getRegAsmName()
return a std::string, which every caller pays for whether or not it
needs one. Replace them with printName() and printRegAsmName(), which
take the stream to write to.

Most callers print the name and are done, and they now write it where
it goes. Where a name goes in the middle of a message, the statement
that built the message becomes several. The callers that do need the
name as a string keep one in a local variable and write into that;
those that look a name up, among them the MIR parser building its map
of every register, reuse one SmallString across the lookups and
allocate less than they did.

DIDumpOptions::GetNameForDWARFReg takes a stream too and says whether
it wrote a name, which its callers used to ask by testing the returned
StringRef for emptiness. The three that fill it in kept a std::string
alive for the StringRef to point at, and no longer need one.

    [2 lines not shown]
DeltaFile
+39-51llvm/lib/DebugInfo/DWARF/DWARFExpressionPrinter.cpp
+25-23llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+16-14llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
+17-13llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+15-13llvm/include/llvm/MC/MCRegisterInfo.h
+16-11llvm/lib/MCA/HardwareUnits/RegisterFile.cpp
+128-12548 files not shown
+400-28554 files

LLVM/project 8acbf49mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-iterator.mlir

Widen iterator trip-count arithmetic
DeltaFile
+48-19mlir/test/Target/LLVMIR/openmp-iterator.mlir
+10-2mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+58-212 files

LLVM/project 47efe06flang/lib/Semantics resolve-names.cpp, flang/test/Semantics call10.f90 interface-body-data.f90

[FLANG][Semantics] Add check for DATA statement in interface body. (#221397)

Check and reject DATA statements in interface bodies before
lowering. A regression test is also added.

Fixes #219525
DeltaFile
+54-0flang/test/Semantics/interface-body-data.f90
+13-0flang/lib/Semantics/resolve-names.cpp
+0-2flang/test/Semantics/call10.f90
+67-23 files

OPNSense/plugins 58f00c2misc/theme-tukan/src/opnsense/www/themes/tukan/assets/stylesheets dashboard.scss main.scss, misc/theme-tukan/src/opnsense/www/themes/tukan/build/css opnsense-bootgrid.css main.css

Vicuna/Tukan theme revised (#5657)
DeltaFile
+7,617-10,723misc/theme-vicuna/src/opnsense/www/themes/vicuna/assets/stylesheets/main.scss
+7,560-10,658misc/theme-tukan/src/opnsense/www/themes/tukan/assets/stylesheets/main.scss
+362-0misc/theme-tukan/src/opnsense/www/themes/tukan/build/css/dashboard.css
+293-0misc/theme-tukan/src/opnsense/www/themes/tukan/assets/stylesheets/dashboard.scss
+36-23misc/theme-tukan/src/opnsense/www/themes/tukan/build/css/main.css
+18-18misc/theme-tukan/src/opnsense/www/themes/tukan/build/css/opnsense-bootgrid.css
+15,886-21,4226 files not shown
+15,906-21,43212 files

LLVM/project 353f977llvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine vec_sext.ll logical-select.ll

[InstCombine] Optimize selects feeding into BinOp (#224478)

Transform:
`(A ? B : C) op (D ? E : F)`

into:
`A ? (B op (D ? E : F)) : (C op (D ? E : F))`

only if D can be implied by A

This allows for more parts of the expression to be predicated, and
allows more CSE and reuse of nodes calculated as part of an exclusive
sum algorithm.

https://alive2.llvm.org/ce/z/Dawj5u
DeltaFile
+65-0llvm/test/Transforms/InstCombine/selects-feeding-binop.ll
+13-34llvm/test/Transforms/InstCombine/logical-select.ll
+13-34llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll
+22-4llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+2-5llvm/test/Transforms/InstCombine/vec_sext.ll
+115-775 files

OPNSense/core 088551asrc/opnsense/mvc/app/views/OPNsense/CaptivePortal vouchers.volt, src/opnsense/mvc/app/views/OPNsense/Diagnostics log.volt arp.volt

ui: remove defunct content-box-main usage

So that reintroducing content-box-main style will not taint these
pages which are likely ok as is nowadays.

PR: https://github.com/opnsense/core/pull/10375
(cherry picked from commit 4e03c6ea4307887e119dacd826e5fa73a5762df6)
DeltaFile
+2-2src/opnsense/mvc/app/views/OPNsense/TrafficShaper/statistics.volt
+2-2src/opnsense/mvc/app/views/OPNsense/Diagnostics/routes.volt
+2-2src/opnsense/mvc/app/views/OPNsense/Diagnostics/ndp.volt
+1-1src/opnsense/mvc/app/views/OPNsense/Diagnostics/log.volt
+1-1src/opnsense/mvc/app/views/OPNsense/Diagnostics/arp.volt
+1-1src/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt
+9-93 files not shown
+12-129 files

LLVM/project 8b9957dllvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp SIISelLowering.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h AMDGPUBaseInfo.cpp

[NFC][AMDGPU] Create tables for async-related intrinsics
DeltaFile
+101-0llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
+37-36llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+4-17llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2-15llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+3-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+147-685 files

FreeBSD/ports ca9d42edevel/pcsc-lite Makefile distinfo

devel/pcsc-lite: Update to 2.5.2
DeltaFile
+3-3devel/pcsc-lite/distinfo
+1-1devel/pcsc-lite/Makefile
+4-42 files

FreeBSD/ports 8406676security/tpm2-pkcs11 Makefile distinfo

security/tpm2-pkcs11: Update to 1.10.1
DeltaFile
+3-3security/tpm2-pkcs11/distinfo
+1-1security/tpm2-pkcs11/Makefile
+4-42 files

FreeBSD/ports 4e1bdf6textproc/goldendict-ng Makefile

textproc/goldendict-ng: Switch to the latest xapian-core

to restore possibility for installing GoldenDict-ng on Plasma Desktop.
libzim support has to be disabled since libzim port depends on xapian-core14.

PR:             298766
Approved by:    eduardo@ (maintainer)
DeltaFile
+3-3textproc/goldendict-ng/Makefile
+3-31 files

LLVM/project 08d809dmlir/lib/Dialect/SPIRV/IR MemoryOps.cpp, mlir/test/Dialect/SPIRV/IR memory-ops.mlir

Revert "[mlir][SPIR-V] Verify NonPrivatePointer requirement for MakePointer{Available,Visible}" (#225483)

Reverts llvm/llvm-project#213621

This is causing buildbot failure
https://lab.llvm.org/buildbot/#/builders/157/builds/51250
DeltaFile
+0-82mlir/test/Dialect/SPIRV/IR/memory-ops.mlir
+8-46mlir/lib/Dialect/SPIRV/IR/MemoryOps.cpp
+8-1282 files

FreeBSD/ports 0f15d25multimedia/pipewire Makefile distinfo

multimedia/pipewire: Update to 1.6.9
DeltaFile
+4-4multimedia/pipewire/pkg-plist
+3-3multimedia/pipewire/distinfo
+1-1multimedia/pipewire/Makefile
+8-83 files

LLVM/project 867f97flibc/src/stdlib CMakeLists.txt secure_getenv.h, libc/src/stdlib/linux CMakeLists.txt secure_getenv.cpp

[libc] Add secure_getenv implementation for Linux (#225013)

Add implementation of POSIX.1-2024 secure_getenv for Linux.

* Fullbuild mode only
* Query AT_SECURE from the auxiliary vector, failing closed if missing
or non-zero.
* Add integration test verifying normal operation and secure execution
mode behavior.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+61-0libc/test/integration/src/stdlib/secure_getenv_test.cpp
+34-0libc/src/stdlib/linux/secure_getenv.cpp
+25-0libc/src/stdlib/secure_getenv.h
+16-0libc/test/integration/src/stdlib/CMakeLists.txt
+14-0libc/src/stdlib/linux/CMakeLists.txt
+7-0libc/src/stdlib/CMakeLists.txt
+157-04 files not shown
+166-010 files

LLVM/project 4cbd68flld/ELF/Arch X86_64.cpp, lld/test/ELF x86-64-tlsdesc-gd.s x86-64-tls-gdie.s

[ELF] Range-check the x86-64 GD-to-IE TLS optimizations (#225228)

Add range-checks to relaxTlsGdToIe so that they fail when the
PC-relative displacement is larger than 32-bit (signed). The un-relaxed
paths in X86_64::relocate already do this via checkInt()

Assisted-By: Opus 5
DeltaFile
+13-0lld/test/ELF/x86-64-tls-pltoff64.s
+9-0lld/test/ELF/x86-64-tlsdesc-gd.s
+9-0lld/test/ELF/x86-64-tls-gdie.s
+3-0lld/ELF/Arch/X86_64.cpp
+34-04 files

LLVM/project fd2de19llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 splat-gather-subtree-minbw.ll splat-gather-subtree-loop-extracts.ll

[SLP]Drop unprofitable splat subtrees before the profitability trim

Their reuse pricing distorts the main tree's trim decisions; price the
restored tree from per-node costs on revert instead of incrementally.

Reviewers: bababuck, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/224470
DeltaFile
+301-270llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+140-153llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-satd.ll
+12-14llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-trim-revert-cost.ll
+9-6llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-loop-extracts.ll
+1-3llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-minbw.ll
+463-4465 files

FreeBSD/ports 2103f69benchmarks/perftest Makefile

benchmarks/perftest: Flavorize into base and ports flavors
DeltaFile
+13-3benchmarks/perftest/Makefile
+13-31 files

FreeBSD/ports 10fd411misc/libuuid Makefile distinfo

misc/libuuid: Update to 2.42.4

Reported by:    portscout!
DeltaFile
+3-3misc/libuuid/distinfo
+1-1misc/libuuid/Makefile
+4-42 files

FreeBSD/src 26b3ff1sys/compat/linux linux.c

Ignore LINUX_POLLREMOVE

This matches upstream behaviour since Linux's demangle_poll()
silently discards POLLREMOVE from the requested events.

Reviewed by:    emaste
Sponsored by:   Sippy Software, Inc.
Differential Revision:  https://reviews.freebsd.org/D59914
MFC after:      1 week
PR:             297467
DeltaFile
+4-2sys/compat/linux/linux.c
+4-21 files

LLVM/project c9bd44ellvm/lib/Target/RISCV RISCVISelLowering.cpp

fixup! Remove NUW flag when emitting the ADD
DeltaFile
+2-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+2-21 files

LLVM/project b8585b4llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv vector-interleave-fixed.ll fixed-vectors-masked-scatter.ll

[RISCV] Combine two consecutive VSLIDEDOWN_VL nodes into one
DeltaFile
+3,913-3,252llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
+3,098-2,506llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll
+93-40llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+9-28llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll
+7,113-5,8264 files

LLVM/project 1502cebllvm/lib/Target/RISCV RISCVISelLowering.cpp

fixup! Do not add NUW on the new offset
DeltaFile
+1-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1-21 files

LLVM/project 3d7395allvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv vector-deinterleave.ll vector-interleave.ll

[RISCV] Eliminate redundant VSLIDEDOWN_VL/VSLIDEUP_VL pairs (#223863)

Given this pattern
```
  %down = RISCVISD::VSLIDEDOWN_VL undef, %val, %shift, %mask, %vl0
%up = RISCVISD::VSLIDEUP_VL %val, %down, %shift, %mask, %vl1
```
We can simplify it with `%val`, as it's doing redundant shifting.

This pattern usually show up when we emit lots of
insert/extract_subvector or concat_vectors while legalizing ops. Since
those ISD will not be cleaned up by any DAG combine, they are
immediately lowered into RISCVISD. This patch adds the missing DAG
combine to clean them up.
DeltaFile
+607-1,185llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll
+15-79llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+70-3llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+12-45llvm/test/CodeGen/RISCV/rvv/vector-deinterleave.ll
+704-1,3124 files

FreeBSD/ports bb9bbfatextproc/py-sphinxcontrib-autoprogram Makefile

textproc/py-sphinxcontrib-autoprogram: unbreak with python 3.14+

Python 3.14 has dropped deprecated Str attribute from ast module
Fixes error "AttributeError: module 'ast' has no attribute 'Str'"

Approved by:    portmgr blanket
DeltaFile
+10-1textproc/py-sphinxcontrib-autoprogram/Makefile
+10-11 files

LLVM/project 3f5d17bllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPReductionUtils.h SLPReductionUtils.cpp

[SLP]Vectorize bool-to-bitmask reductions as a bitcast of zero tests

An or-reduction of boolean leaves each shifted by their own bit position
(an array of bools packed into a bitmask) is a bitcast of the per-lane
zero tests to an integer, which the backend lowers to a movmsk (X86).
Emit that instead of the shift and reduce sequence when it is cheaper.

Fixes #41997

Assisted-by: Cursor

Reviewers: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/223434
DeltaFile
+40-248llvm/test/Transforms/SLPVectorizer/X86/bool-mask.ll
+132-24llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+54-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCostAnalysis.cpp
+28-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPReductionUtils.cpp
+15-11llvm/test/Transforms/SLPVectorizer/AArch64/narrowed-reduction-chain-use.ll
+20-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPReductionUtils.h
+289-2831 files not shown
+309-2837 files

LLVM/project 5ae71ec.github/workflows release-binaries.yml, clang/cmake/caches Release.cmake

[cmake] Build libxml from source in release (#221365)

With 23.x we started linking a static libxml in release builds to avoid
requiring that to be installed, and the varying names of that library on
different linux distros. That broke more than it fixed because the
static libxml in our docker images are built targeting ICU, and ICU's
shared library version changes quickly, so even between 2 ubuntu
versions the binaries will not work.

With this change we now build from source in the release build, which is
already what windows does, and we disable ICU / iconv since those don't
seem vital for the windows manifest use case. This seems easier than
building a libxml out of band in our CI images that do the release
builds.

Fixes https://github.com/llvm/llvm-project/issues/215764

Assisted-By: codex
DeltaFile
+47-0.github/workflows/release-binaries.yml
+13-7llvm/cmake/modules/FindLibXml2.cmake
+1-0clang/cmake/caches/Release.cmake
+61-73 files

FreeBSD/ports e457801mail/thunderbird Makefile distinfo

mail/thunderbird: update to 156.0.1 (rc1)

Release Notes:
  https://www.thunderbird.net/en-US/thunderbird/156.0.1/releasenotes/

(cherry picked from commit 8ad28dea345c51a636bd7f95185d462315afe1e6)
DeltaFile
+3-3mail/thunderbird/distinfo
+1-1mail/thunderbird/Makefile
+4-42 files

LLVM/project 8045e64compiler-rt/lib/scudo/standalone secondary.h, compiler-rt/lib/scudo/standalone/tests secondary_test.cpp

[scudo] Skip secondary release if interval greater than current time. (#225242)

If the current time is less than the release interval, the call to
releaseOlderThan wraps around and releases all entries. Skip releasing
when detecting this case.
DeltaFile
+43-0compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
+3-2compiler-rt/lib/scudo/standalone/secondary.h
+46-22 files