LLVM/project 29b363eclang/lib/AST/ByteCode EvalEmitter.cpp, clang/test/AST/ByteCode cxx23.cpp

[clang][bytecode] Don't check lvalue expressions for initialization (#181309)

We're not reading from them, so they don't need to be fully initialized.
DeltaFile
+10-0clang/test/AST/ByteCode/cxx23.cpp
+2-4clang/test/CodeGenCXX/cxx2a-consteval.cpp
+1-1clang/lib/AST/ByteCode/EvalEmitter.cpp
+13-53 files

LLVM/project 54c080dmlir/tools/mlir-tblgen DialectGen.cpp

[MLIR][ODS] Make dialect attribute helper member functions const (NFC) (#181111)

This commit marks member functions of dialect attribute helpers as
constant. This ensures that these helpers can be used as members of
rewrite patterns, whose `matchAndRewrite` functions are marked as const
as well.
DeltaFile
+6-6mlir/tools/mlir-tblgen/DialectGen.cpp
+6-61 files

FreeBSD/src 2bdec2esys/dev/e1000 if_em.c

e1000: Increase FC pause/refresh time on PCH2 and newer

This corresponds to Linux f74dc880098b4a29f76d756b888fb31d81ad9a0c

That commit does not provide any public background detail, but it's been
in use for over 5 years and corresponds to previous chip bugs w.r.t.
automatic generation of PAUSE frames.

Reviewed by:    kgalazka
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D54555
DeltaFile
+2-2sys/dev/e1000/if_em.c
+2-21 files

LLVM/project da6851flldb/source/API SBFile.cpp

[lldb] Fix typo: transfer_owndership -> transfer_ownership (NFC) (#181314)

DeltaFile
+3-3lldb/source/API/SBFile.cpp
+3-31 files

LLVM/project 655b6fblldb/include/lldb/Breakpoint StoppointHitCounter.h, lldb/include/lldb/Core DebuggerEvents.h Declaration.h

[lldb] Fix LLDB header guards (NFC) (#181312)

Fix LLDB header guards using clang-tidy's llvm-header-guard check. A
bunch of headers have been moved or renamed and we often forget to
update the header guard.
DeltaFile
+3-4lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
+3-3lldb/include/lldb/Breakpoint/StoppointHitCounter.h
+3-3lldb/include/lldb/Core/DebuggerEvents.h
+3-3lldb/include/lldb/Core/Declaration.h
+3-3lldb/include/lldb/Core/SourceLocationSpec.h
+3-3lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.h
+18-1979 files not shown
+229-23085 files

LLVM/project 5ab9cbellvm/test/CodeGen/ARM fp-intrinsics-vector-v8.ll, llvm/test/CodeGen/Thumb2/mve-intrinsics strict-round.ll

[ARM] Precommit tests: strictfp rounding vector intrinsics (#180479)

DeltaFile
+154-0llvm/test/CodeGen/Thumb2/mve-intrinsics/strict-round.ll
+82-0llvm/test/CodeGen/ARM/fp-intrinsics-vector-v8.ll
+236-02 files

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