LLVM/project 4b88753lld/ELF RelocScan.h Relocations.cpp, lld/ELF/Arch X86.cpp X86_64.cpp

[ELF] Add target-specific relocation scanning for x86 (#178846)

Implement scanSection/scanSectionImpl for i386 and x86-64 to

* enable devirtualization of getRelExpr calls
* eliminate abstraction overhead for PLT-to-PCRel optimization, TLS
relocations
* optimize for R_X86_64_PC32 and R_X86_64_PLT32: they consist of 95%
  relocations in `lld/ELF/**/*.o` files.
* enable future optimization to remove `loc` from `getRelExpr` (only
  used by X86.cpp `R_386_GOT32[X]`)

at the cost of more boilerplate.

TLS relocation handling is inlined into scanSectionImpl. Also,

- Remove getTlsGdRelaxSkip
- Replace TLS-optimization-specific expressions:
- R_RELAX_TLS_GD_TO_LE, R_RELAX_TLS_LD_TO_LE, R_RELAX_TLS_IE_TO_LE →

    [16 lines not shown]
DeltaFile
+147-92lld/ELF/Arch/X86.cpp
+147-49lld/ELF/Arch/X86_64.cpp
+105-2lld/ELF/RelocScan.h
+11-1lld/ELF/Relocations.cpp
+410-1444 files

FreeBSD/ports 0609e4dwww/elgg pkg-plist distinfo

www/elgg: Update to 6.3.3
DeltaFile
+579-3www/elgg/pkg-plist
+3-3www/elgg/distinfo
+1-1www/elgg/Makefile
+583-73 files

FreeBSD/ports 0953cedwww/groupoffice pkg-plist distinfo

www/groupoffice: Update to 26.0.6
DeltaFile
+3,576-1,281www/groupoffice/pkg-plist
+3-3www/groupoffice/distinfo
+1-1www/groupoffice/Makefile
+3,580-1,2853 files

FreeBSD/ports 5ab4643textproc/py-xmlschema distinfo Makefile

textproc/py-xmlschema: Update to 4.3.1
DeltaFile
+3-3textproc/py-xmlschema/distinfo
+1-1textproc/py-xmlschema/Makefile
+4-42 files

FreeBSD/ports ba9bcc4www/py-litestar distinfo Makefile

www/py-litestar: Update to 2.20.0
DeltaFile
+3-3www/py-litestar/distinfo
+1-1www/py-litestar/Makefile
+4-42 files

FreeBSD/ports 23656f4www/openemr distinfo Makefile

www/openemr: Update to 8.0.0
DeltaFile
+3-3www/openemr/distinfo
+1-1www/openemr/Makefile
+4-42 files

FreeBSD/ports 2b604c6www/ilias distinfo Makefile

www/ilias: Update to 10.5
DeltaFile
+3-3www/ilias/distinfo
+1-1www/ilias/Makefile
+4-42 files

FreeBSD/ports b61f0a6www/py-fastapi distinfo Makefile

www/py-fastapi: Update to 0.128.8
DeltaFile
+3-3www/py-fastapi/distinfo
+1-1www/py-fastapi/Makefile
+4-42 files

LLVM/project a809d64llvm/lib/Target/RISCV RISCVISelDAGToDAG.cpp RISCVISelLowering.cpp

[RISCV] Remove RISCVISD::WMACC*. Match during isel. NFC (#181197)

I think we may want to be able to fold ADDD nodes independent of the MUL
in some cases. For example turning NSRAI into NSRARI.

If we fold ADDD into WMACC we would need to be able to extract it again.
Keep the nodes separate avoids this.

Code change was assisted by AI.
DeltaFile
+98-62llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+0-76llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+0-13llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+1-0llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
+99-1514 files

LLVM/project a89e766llvm/lib/Transforms/Scalar IndVarSimplify.cpp, llvm/test/Transforms/IndVarSimplify scev-update-loop-opt.ll

[IndVarSimplify] Add safety check for getTruncateExpr in genLoopLimit (#181296)

getTruncateExpr may not always return a SCEVAddRecExpr when truncating
loop bounds. Add a check to verify the result type before casting, and
bail out of the transformation if the cast would be invalid.

This prevents potential crashes from invalid casts when dealing with
complex loop bounds.

Co-authored by Michael Rowan

Resolves
[https://github.com/llvm/llvm-project/issues/153090](https://github.com/llvm/llvm-project/issues/153090)
DeltaFile
+149-0llvm/test/Transforms/IndVarSimplify/scev-update-loop-opt.ll
+18-8llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+167-82 files

LLVM/project 48566b2mlir/include/mlir/Dialect/XeGPU/TransformOps XeGPUTransformOps.td, mlir/lib/Dialect/XeGPU/TransformOps XeGPUTransformOps.cpp

[MLIR][XeGPU][TransformOps] set_op_layout_attr supports setting anchor layout (#172542)

Changes `transform.xegpu.set_op_layout_attr` to support xegpu anchor
layouts. By default, if `result` and `operand` bool arguments are unset,
this transform op sets the op's anchor layout, if the op supports it
(otherwise emits a silenceable failure).

In contrast to the earlier implementation, setting the operand layout
now requires setting the new `operand` argument.
DeltaFile
+104-34mlir/test/Dialect/XeGPU/transform-ops.mlir
+42-6mlir/lib/Dialect/XeGPU/TransformOps/XeGPUTransformOps.cpp
+33-5mlir/test/python/dialects/transform_xegpu_ext.py
+15-9mlir/include/mlir/Dialect/XeGPU/TransformOps/XeGPUTransformOps.td
+20-1mlir/test/Dialect/XeGPU/transform-ops-invalid.mlir
+4-0mlir/python/mlir/dialects/transform/xegpu.py
+218-556 files

LLVM/project 3b7acb4clang/test/OpenMP task_codegen.cpp threadprivate_codegen.cpp, llvm/test/CodeGen/AArch64 clmul-fixed.ll

Merge branch 'main' into users/spavloff/arm.test
DeltaFile
+5,835-5,584llvm/test/tools/llvm-dwarfdump/X86/simplified-template-names.s
+5,528-5,528llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
+4,314-4,314llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir
+3,458-2,041clang/test/OpenMP/task_codegen.cpp
+2,140-2,140clang/test/OpenMP/threadprivate_codegen.cpp
+4,119-13llvm/test/CodeGen/AArch64/clmul-fixed.ll
+25,394-19,6203,758 files not shown
+209,468-97,4293,764 files

DragonFlyBSD/src b884917sys/dev/virtual/nvmm/x86 nvmm_x86_internal.h nvmm_x86.h

nvmm(4): Extract out nvmm_x86_internal.h from nvmm_x86.h

Similar to nvmm_internal.h, extract the kernel-only bits from nvmm_x86.h
and put into a separate 'nvmm_x86_internal.h'.
DeltaFile
+241-0sys/dev/virtual/nvmm/x86/nvmm_x86_internal.h
+0-208sys/dev/virtual/nvmm/x86/nvmm_x86.h
+1-0sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
+1-0sys/dev/virtual/nvmm/x86/nvmm_x86.c
+1-0sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
+244-2085 files

DragonFlyBSD/src a91151fsys/dev/virtual/nvmm/x86 nvmm_x86_svm.c

nvmm(4): Enable selective CR0 write intercept in the SVM backend

Similar to the VMX backend [1], enable selective CR0 write intercept in
the SVM backend to force CR0_ET/CR0_NE to 1, and CR0_CD/CR0_NW to 0.

This addresses the severe performance issue observed in UEFI guests [2].
When booting a DragonFly installation ISO on my AMD 3700X, it previously
took 50-60 seconds from VM power-on before the kernel started loading,
and around 17 *minutes* to reach the login prompt.  Even when the guest
OS was otherwise idle, the qemu process consumed 40-50% CPU.

Note that the selective CR0 write intercept is enabled only when the CPU
supports the DecodeAssists feature, as the intercept handling relies on
the decoded information provided in EXITINFO1.  A diagnostic message is
printed in svm_ident() when DecodeAssists is unavailable.

Meanwhile, rename 'VMCB_CTRL_INTERCEPT_CR0_SPEC' to
'VMCB_CTRL_INTERCEPT_CR0_SEL' to better align with
'VMCB_EXITCODE_CR0_SEL_WRITE'.

    [9 lines not shown]
DeltaFile
+90-4sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
+90-41 files

FreeBSD/doc c43ac4dwebsite/content/en/releases/15.0R relnotes.adoc

website: fix typos in relnotes 15.0R

Approved by: re (implicit)
DeltaFile
+15-14website/content/en/releases/15.0R/relnotes.adoc
+15-141 files

LLVM/project da9c513clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/include/clang/CIR/Interfaces ASTAttrInterfaces.td

[CIR][LoweringPrepare] Emit guard variables for static local initialization (#179828)

This implements the lowering of static local variables with the Itanium C++ ABI
guard variable pattern in LoweringPrepare. This is initial support, errorNYI covering all that hasn't been added just yet.

When a GlobalOp has the static_local attribute and a ctor region, this pass:
1. Creates a guard variable global (mangled name from AST)
2. Inserts the guard check pattern at each GetGlobalOp use site:
   - Load guard byte with acquire ordering
   - If zero, call __cxa_guard_acquire
   - If acquire returns non-zero, inline the ctor region code
   - Call __cxa_guard_release
3. Clears the static_local attribute and ctor region from the GlobalOp

Once the new design doc lands I'll add more information over there.
DeltaFile
+405-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+35-2clang/test/CIR/CodeGen/static-local.cpp
+19-4clang/lib/CIR/CodeGen/CIRGenDeclCXX.cpp
+20-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+0-12clang/include/clang/CIR/Interfaces/ASTAttrInterfaces.td
+7-3clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+486-236 files not shown
+501-3712 files

DragonFlyBSD/src 71d6bbasys/dev/virtual/nvmm nvmm.h

nvmm(4): Comment all versions of NVMM_KERN_VERSION
DeltaFile
+5-0sys/dev/virtual/nvmm/nvmm.h
+5-01 files

DragonFlyBSD/src 89a608fsys/dev/virtual/nvmm nvmm_os.h

nvmm(4): Tweak os_atomic_load_uint() to use relaxed semantic

The original NetBSD code uses atomic_load_relaxed(), so this macro
should be "atomic_load_int()", i.e., without the "acquire" semantic.

Also, the relaxed semantic suffices for the current use cases.
DeltaFile
+1-1sys/dev/virtual/nvmm/nvmm_os.h
+1-11 files

LLVM/project e999b50llvm/lib/Transforms/Utils MatrixUtils.cpp

wording

Created using spr 1.3.7
DeltaFile
+2-2llvm/lib/Transforms/Utils/MatrixUtils.cpp
+2-21 files

LLVM/project 59cf57ellvm/lib/Transforms/Utils MatrixUtils.cpp

feedback

Created using spr 1.3.7
DeltaFile
+2-2llvm/lib/Transforms/Utils/MatrixUtils.cpp
+2-21 files

LLVM/project cbb978fllvm/test/CodeGen/RISCV/rvv vabs.ll vabdu.ll

Add masked .ll tests

Created using spr 1.3.6-beta.1
DeltaFile
+469-288llvm/test/CodeGen/RISCV/rvv/vabs.ll
+295-171llvm/test/CodeGen/RISCV/rvv/vabdu.ll
+295-171llvm/test/CodeGen/RISCV/rvv/vabd.ll
+249-145llvm/test/CodeGen/RISCV/rvv/vwabdau.ll
+249-145llvm/test/CodeGen/RISCV/rvv/vwabda.ll
+1,557-9205 files

LLVM/project 225feeaclang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/include/clang/CIR/Interfaces ASTAttrInterfaces.td

[CIR][LoweringPrepare] Emit guard variables for static local initialization

This implements the lowering of static local variables with the Itanium C++ ABI
guard variable pattern in LoweringPrepare.

When a GlobalOp has the static_local attribute and a ctor region, this pass:
1. Creates a guard variable global (mangled name from AST)
2. Inserts the guard check pattern at each GetGlobalOp use site:
   - Load guard byte with acquire ordering
   - If zero, call __cxa_guard_acquire
   - If acquire returns non-zero, inline the ctor region code
   - Call __cxa_guard_release
3. Clears the static_local attribute and ctor region from the GlobalOp
DeltaFile
+405-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+35-2clang/test/CIR/CodeGen/static-local.cpp
+19-4clang/lib/CIR/CodeGen/CIRGenDeclCXX.cpp
+20-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+0-12clang/include/clang/CIR/Interfaces/ASTAttrInterfaces.td
+7-3clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+486-236 files not shown
+501-3712 files

FreeBSD/ports 88168ccmisc/codex distinfo Makefile.crates, misc/codex/files patch-codex-rs_core_tests_suite_view__image.rs patch-codex-rs_exec_tests_suite_mod.rs

misc/codex: Update to 0.101.0

Changelog:
- https://github.com/openai/codex/releases/tag/rust-v0.99.0
- https://github.com/openai/codex/releases/tag/rust-v0.100.0
- https://github.com/openai/codex/releases/tag/rust-v0.101.0

Reported by:    GitHub (watch releases)
DeltaFile
+89-47misc/codex/distinfo
+44-23misc/codex/Makefile.crates
+7-5misc/codex/Makefile
+4-4misc/codex/files/patch-codex-rs_core_tests_suite_view__image.rs
+2-2misc/codex/files/patch-codex-rs_exec_tests_suite_mod.rs
+146-815 files

LLVM/project 24fbf9dclang/lib/AST/ByteCode MemberPointer.h Interp.cpp, clang/test/AST/ByteCode memberpointers.cpp

[clang][bytecode] Add a path to MemberPointers (#179050)

Add a path and an `IsDerivedMember` member to our `MemberPointer` class.
Fix base-to-derived/derived-to-base casts. Add tests and unit tests,
since regular tests allow a lot and we want to check the path size
exactly.
DeltaFile
+88-34clang/lib/AST/ByteCode/MemberPointer.h
+97-7clang/lib/AST/ByteCode/Interp.cpp
+89-5clang/unittests/AST/ByteCode/toAPValue.cpp
+43-17clang/lib/AST/ByteCode/Compiler.cpp
+24-7clang/lib/AST/ByteCode/MemberPointer.cpp
+27-0clang/test/AST/ByteCode/memberpointers.cpp
+368-704 files not shown
+396-8010 files

LLVM/project e777fe2clang/lib/AST/ByteCode InterpFrame.h

[clang][bytecode][NFC] Add InterpFrame::getName() (#181158)

DeltaFile
+6-0clang/lib/AST/ByteCode/InterpFrame.h
+6-01 files

FreeBSD/ports a20e21bastro/gpsd Makefile, devel/py-pygobject Makefile

graphics/py-pycairo: bump RUN_DEPENDS consumers after rename
DeltaFile
+1-1astro/gpsd/Makefile
+1-1devel/py-pygobject/Makefile
+1-1graphics/drawing/Makefile
+1-1graphics/py-photocollage/Makefile
+1-1graphics/py-pycha/Makefile
+1-1multimedia/py-mat2/Makefile
+6-615 files not shown
+21-1521 files

FreeBSD/ports b01ea74graphics/py-cairo Makefile pkg-plist, graphics/py-pycairo Makefile

graphics/py-pycairo: rename and update to 1.29.0

Changelog: https://pycairo.readthedocs.io/en/latest/changelog.html#v1-29-0

Notably, experimental support for free-threaded Python (3.13t, soon 3.14t)

Port and PKGNAME renamed to match Python package metadata, and to
properly build with USE_PYTHON=pep517. Test suite also now exposed.
Remove PORTSCOUT since this does not follow the even-odd version
split.
DeltaFile
+41-0graphics/py-pycairo/Makefile
+0-34graphics/py-cairo/Makefile
+27-0graphics/py-pycairo/files/patch-cairo_meson.build
+0-10graphics/py-cairo/pkg-plist
+3-3print/py-weasyprint/Makefile
+2-2x11-themes/plasma6-breeze-gtk/Makefile
+73-4927 files not shown
+104-7933 files

OpenBSD/ports YaRrveZdevel/py-holidays distinfo Makefile

   update py-holidays to 0.90
VersionDeltaFile
1.4+2-2devel/py-holidays/distinfo
1.4+1-1devel/py-holidays/Makefile
+3-32 files

OpenBSD/ports vRzkHm3devel/py-debugpy Makefile distinfo

   update py-debugpy to 1.8.20
VersionDeltaFile
1.17+3-2devel/py-debugpy/Makefile
1.12+2-2devel/py-debugpy/distinfo
+5-42 files

FreeBSD/doc 565e3fbwebsite/data/en/vendors consulting.toml

website: fix typo en/vendors/consulting.toml
DeltaFile
+1-1website/data/en/vendors/consulting.toml
+1-11 files