LLVM/project 0b413b7llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/lib/Target/ARM/AsmParser ARMAsmParser.cpp

[MC][TableGen] Make MCRegisterClasses relocation-free (#206753)

MCRegisterClasses currently store pointers to the register list and the
bit set. Store these three types together in one data structure and use
relative offsets to avoid these relocations and move the large
MCRegisterClasses array from .data.rel.ro into .data. This reduces the
amount of data that needs to be relocated by 86 KB.

This has two side effects: first, MCRegisterClass is not copyable and
the few uses that did copy were changed. Second, the MCRegisterClasses
array is no longer easily accessible as a global (well, it *technically*
is, but that requires the type of the entire storage struct, which I
don't want to expose). Therefore, these accesses need to go through a
function; which shouldn't be too costly and be inlined in an LTO build.
DeltaFile
+98-97llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+95-58llvm/utils/TableGen/RegisterInfoEmitter.cpp
+51-50llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+52-49llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+30-30llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+26-26llvm/test/TableGen/RegClassByHwModeCompressPat.td
+352-31025 files not shown
+482-42431 files

OPNSense/tools 31820a9config/26.1 ports.conf make.conf, config/26.7 ports.conf make.conf

config: switch to dedicated haproxy32 port

Renaming ports is really popular for minimal benefit.
DeltaFile
+1-1config/26.7/ports.conf
+1-1config/26.7/make.conf
+1-1config/26.1/ports.conf
+1-1config/26.1/make.conf
+4-44 files

FreeBSD/ports 1172418multimedia/kodi-addon-inputstream.adaptive distinfo Makefile

multimedia/kodi-addon-inputstream.adaptive: Update to 22.3.17
DeltaFile
+3-3multimedia/kodi-addon-inputstream.adaptive/distinfo
+1-1multimedia/kodi-addon-inputstream.adaptive/Makefile
+4-42 files

LLVM/project 8461c3borc-rt/include/orc-rt CallableTraitsHelper.h Error.h, orc-rt/unittests CallableTraitsHelperTest.cpp

[orc-rt] CallableTraitsHelper - record operator()'s noexcept-specifier (#206891)

Adds a `bool IsNoexcept` template parameter to CallableTraitsHelper's
impl-class template argument (after the existing IsConst from
4bab60f2c63). It records the noexcept-specification on the callable's
function type.

Specializations are added for noexcept-qualified forms. Existing
specializations propagate `IsNoexcept = false`. CallableArgInfoImpl
exposes the captured bool as `static constexpr bool is_noexcept`.

Existing pass-through adapters (ErrorHandlerTraitsImplAdapter,
ErrorWrapImplAdapter, WFHandlerTraitsImplAdapter) are updated to accept
and discard the additional argument.
DeltaFile
+68-14orc-rt/include/orc-rt/CallableTraitsHelper.h
+73-0orc-rt/unittests/CallableTraitsHelperTest.cpp
+3-2orc-rt/include/orc-rt/Error.h
+1-1orc-rt/include/orc-rt/WrapperFunction.h
+145-174 files

OPNSense/ports 45bee63opnsense/update distinfo Makefile

opnsense/update: new base/kernel, you know the drill
DeltaFile
+3-3opnsense/update/distinfo
+1-1opnsense/update/Makefile
+4-42 files

LLVM/project 33b81e3llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/MC/AMDGPU gfx11_asm_vopc.s

rebase

Created using spr 1.3.8-wip
DeltaFile
+19,967-19,033llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+13,779-6,871llvm/test/tools/llvm-mca/AArch64/Cortex/C1Ultra-sve-instructions.s
+10,260-9,388llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
+6,927-5,721llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+5,374-4,577llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+6,359-3,161llvm/test/tools/llvm-mca/AArch64/Cortex/C1Ultra-neon-instructions.s
+62,666-48,7512,347 files not shown
+262,318-138,9092,353 files

LLVM/project 3d8fafbllvm/lib/Target/X86 X86InsertX87Wait.cpp, llvm/test/CodeGen/X86 x87-insert-wait.mir

[X86] Insert WAIT before fnstenv/fnsave and skip meta-instructions (#204108)

fnstenv/fnsave (FSTENVm/FSAVEm) are non-waiting, so they don't
synchronize a pending FP exception; the WAIT pass shouldn't skip the
WAIT before them.

Also skip meta-instructions when finding the next op so WAIT placement
doesn't depend on -g.

Added a new X87ControlKind enum class to classify x87 control
instructions in the pass, replacing the existing ad-hoc switches.

Found via @jlebar's X86 LLVM bug-hunt / FuzzX effort:

https://github.com/SemiAnalysisAI/FuzzX/blob/master/x86/bugs/047-x87-insertwait-too-eager-skip

cc @jlebar
DeltaFile
+72-0llvm/test/CodeGen/X86/x87-insert-wait.mir
+25-27llvm/lib/Target/X86/X86InsertX87Wait.cpp
+97-272 files

LLVM/project 1ec43aeflang/lib/Lower/OpenMP OpenMP.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[flang][OpenMP] Lower target in_reduction for host fallback

Enable host-fallback lowering for target in_reduction in Flang and MLIR OpenMP translation.

Model target in_reduction through the matching map entry, force address-preserving implicit mapping for Flang in_reduction list items, and emit the host-side task-reduction lookup with __kmpc_task_reduction_get_th_data. The runtime entry point takes and returns a generic, default-address-space pointer, so normalize a non-default-address-space captured pointer to the generic address space before the call and cast the returned private pointer back to the map block argument's address space, mirroring the in_reduction handling on omp.taskloop. Unsupported device/offload-entry and richer reduction forms remain diagnosed.

Add Flang lowering, MLIR verifier/translation, and LLVM IR tests for the supported host-fallback path, including a non-default-address-space case, and the remaining unsupported cases.
DeltaFile
+131-14mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+95-21mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+110-3mlir/test/Target/LLVMIR/openmp-todo.mlir
+107-0mlir/test/Target/LLVMIR/openmp-target-in-reduction.mlir
+88-15flang/lib/Lower/OpenMP/OpenMP.cpp
+77-0mlir/test/Target/LLVMIR/openmp-target-in-reduction-multi.mlir
+608-5314 files not shown
+977-8020 files

LLVM/project 67f027cclang/lib/Driver ToolChain.cpp, clang/lib/Driver/ToolChains Clang.cpp

[TargetParser][AArch64][NFC] Use StringTable (#206698)

Store strings in a StringTable instead of referencing them via pointers.
This permits some data structures to be stored in .rodata instead of
.data.rel.ro, as they no longer require relocations. In particular this
affects the 16 kiB AArch64::Extensions.
DeltaFile
+35-32llvm/lib/TargetParser/AArch64TargetParser.cpp
+40-18llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp
+27-20llvm/include/llvm/TargetParser/AArch64TargetParser.h
+20-20llvm/unittests/TargetParser/TargetParserTest.cpp
+8-8clang/lib/Driver/ToolChain.cpp
+2-1clang/lib/Driver/ToolChains/Clang.cpp
+132-991 files not shown
+133-1007 files

LLVM/project 4bab60forc-rt/include/orc-rt CallableTraitsHelper.h Error.h, orc-rt/unittests CallableTraitsHelperTest.cpp

[orc-rt] CallableTraitsHelper - record call operator's const-qualifier (#206889)

Adds a leading `bool IsConst` template parameter to
CallableTraitsHelper's impl-class template argument to record the
const-qualifier on the callable's function type.

Existing specializations are updated to report their const qualifiers,
and a new specialization handles `RetT(ArgTs...) const`.

CallableArgInfo is updated to expose the captured bool as `static
constexpr bool is_const`.

Existing impls that do not consume the new parameter are adapted via
pass-through wrappers (ErrorHandlerTraitsImplAdapter,
ErrorWrapImplAdapter, WFHandlerTraitsImplAdapter) that discard the
leading bool.
DeltaFile
+63-0orc-rt/unittests/CallableTraitsHelperTest.cpp
+28-19orc-rt/include/orc-rt/CallableTraitsHelper.h
+8-2orc-rt/include/orc-rt/Error.h
+4-1orc-rt/include/orc-rt/WrapperFunction.h
+103-224 files

LLVM/project bae9ddcclang/lib/Format WhitespaceManager.cpp, clang/unittests/Format FormatTestComments.cpp

[clang-format] Fix a bug in recognizing trailing comments (#206393)

Test cases are borrowed/adapted from #196760.

Fixes #196663
DeltaFile
+36-0clang/unittests/Format/FormatTestComments.cpp
+2-0clang/lib/Format/WhitespaceManager.cpp
+38-02 files

FreeBSD/src 4f293e3cddl/usr.bin/ctfmerge ctfmerge.1

ctfmerge.1: Fix uniqlabel typos

The flag is -D, but it was written as a second -d. Add a period too.

MFC after:      3 days
DeltaFile
+2-2cddl/usr.bin/ctfmerge/ctfmerge.1
+2-21 files

LLVM/project 2301475flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-declare-managed-no-global-ctor.f90

Revert "[flang][openacc] Skip implicit global declare constructor in managed mode" (#206884)

Reverts llvm/llvm-project#206610 as this might not be the right approach
DeltaFile
+0-30flang/test/Lower/OpenACC/acc-declare-managed-no-global-ctor.f90
+4-19flang/lib/Lower/OpenACC.cpp
+4-492 files

LLVM/project 7306ea2flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-declare-managed-no-global-ctor.f90

Revert "[flang][openacc] Skip implicit global declare constructor in managed …"

This reverts commit b213a5454f178dabb07514454cf83dc38e41fdad.
DeltaFile
+0-30flang/test/Lower/OpenACC/acc-declare-managed-no-global-ctor.f90
+4-19flang/lib/Lower/OpenACC.cpp
+4-492 files

LLVM/project 4a11eb3orc-rt/include/orc-rt CallableTraitsHelper.h

[orc-rt] Drop redundant 'public' base access specifiers. NFC. (#206883)
DeltaFile
+9-10orc-rt/include/orc-rt/CallableTraitsHelper.h
+9-101 files

LLVM/project 3f849ffflang/lib/Lower/OpenMP OpenMP.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[flang][OpenMP] Lower target in_reduction for host fallback

Enable host-fallback lowering for target in_reduction in Flang and MLIR OpenMP translation.

Model target in_reduction through the matching map entry, force address-preserving implicit mapping for Flang in_reduction list items, and emit the host-side task-reduction lookup with __kmpc_task_reduction_get_th_data. The runtime entry point takes and returns a generic, default-address-space pointer, so normalize a non-default-address-space captured pointer to the generic address space before the call and cast the returned private pointer back to the map block argument's address space, mirroring the in_reduction handling on omp.taskloop. Unsupported device/offload-entry and richer reduction forms remain diagnosed.

Add Flang lowering, MLIR verifier/translation, and LLVM IR tests for the supported host-fallback path, including a non-default-address-space case, and the remaining unsupported cases.
DeltaFile
+131-14mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+95-21mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+110-3mlir/test/Target/LLVMIR/openmp-todo.mlir
+107-0mlir/test/Target/LLVMIR/openmp-target-in-reduction.mlir
+88-15flang/lib/Lower/OpenMP/OpenMP.cpp
+77-0mlir/test/Target/LLVMIR/openmp-target-in-reduction-multi.mlir
+608-5315 files not shown
+1,000-8021 files

LLVM/project e7290b1llvm/docs/CommandGuide llvm-debuginfo-analyzer.rst, llvm/include/llvm/DebugInfo/LogicalView/Readers LVIRReader.h

[llvm-debuginfo-analyzer] Add support for LLVM IR format. (#202120)

llvm-debuginfo-analyzer is a command line tool that processes debug
info contained in a binary file and produces a debug information
format agnostic “Logical View”, which is a high-level semantic
representation of the debug info, independent of the low-level format.

Add support for the LLVM IR format and be able to generate logical
views. Both textual representation (.ll) and bitcode (.bc) formats
are supported.

This relands https://github.com/llvm/llvm-project/pull/135440,
which was:
reverted in: https://github.com/llvm/llvm-project/pull/199890
relanded in: https://github.com/llvm/llvm-project/pull/200603
reverted in: https://github.com/llvm/llvm-project/pull/201019

It includes the fixes for the buildbots problems.
DeltaFile
+2,630-0llvm/lib/DebugInfo/LogicalView/Readers/LVIRReader.cpp
+362-0llvm/unittests/DebugInfo/LogicalView/IRReaderTest.cpp
+303-0llvm/include/llvm/DebugInfo/LogicalView/Readers/LVIRReader.h
+87-134llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
+168-0llvm/test/tools/llvm-debuginfo-analyzer/IR/08-ir-multiple-compile-units.test
+151-0llvm/test/tools/llvm-debuginfo-analyzer/IR/01-ir-select-logical-elements.test
+3,701-13435 files not shown
+5,420-15941 files

LLVM/project 62ee075llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

[AArch64][ISel] Fix comment misalignment (NFC) (#206878)

Fix comment misalignment introduced by newly-added code in commit
2668971e14219205ddf6b1f753cf83f7cb22022a
DeltaFile
+2-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+2-21 files

LLVM/project b5c5551orc-rt/include/orc-rt CallableTraitsHelper.h

[orc-rt] Simplify CallableTraitsHelper specialization inheritance NFC. (#206869)

Make CallableTraitsHelper specializations inherit directly from ImplT.
This is a no-op, but will simplify upcoming patches that will capture
more information about the callable type.
DeltaFile
+4-4orc-rt/include/orc-rt/CallableTraitsHelper.h
+4-41 files

FreeBSD/ports 31e0fd2devel/sem distinfo Makefile

devel/sem: Update to 0.15.0
DeltaFile
+5-3devel/sem/distinfo
+1-1devel/sem/Makefile
+1-0devel/sem/Makefile.crates
+7-43 files

LLVM/project 905c6d9llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv pr206788.ll

[RISCV] Disable combineVectorSizedSetCCEquality when fixed length vectors are disabled. (#206829)

With VLEN=32 we don't support fixed vectors even if vector instructions are
enabled.

Fixes #206788
DeltaFile
+30-0llvm/test/CodeGen/RISCV/rvv/pr206788.ll
+1-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+31-12 files

NetBSD/src XHggdlWetc Makefile, etc/unbound unbound.conf Makefile

   unbound: Install a default configuration.

   This way, setting unbound=YES is enough to get a working local
   recursive resolver listening on 127.0.0.1:53 and [::1]:53.

   PR misc/60339: unbound=YES in rc.conf should be enough to get a
   recursive resolver

   Additionally, this includes the workaround for:

   PR bin/60325: unbound emits warning: so-sndbuf 4194304 was not
   granted
VersionDeltaFile
1.1+49-0etc/unbound/unbound.conf
1.84+15-2share/man/man8/afterboot.8
1.3+14-1external/bsd/unbound/etc/rc.d/unbound
1.1+14-0etc/unbound/Makefile
1.195+12-1share/man/man5/rc.conf.5
1.477+2-2etc/Makefile
+106-62 files not shown
+110-88 files

NetBSD/pkgsrc ANt2BHNtextproc/xmlto distinfo, textproc/xmlto/patches patch-format_docbook_epub patch-format_docbook_txt

   xmlto: add missing comments to patch headers
VersionDeltaFile
1.20+6-6textproc/xmlto/distinfo
1.2+3-1textproc/xmlto/patches/patch-format_docbook_epub
1.2+3-1textproc/xmlto/patches/patch-format_docbook_txt
1.2+3-1textproc/xmlto/patches/patch-format_fo_dvi
1.2+3-1textproc/xmlto/patches/patch-format_fo_pdf
1.2+3-1textproc/xmlto/patches/patch-format_xhtml1_txt
+21-116 files

Linux/linux 665159ekernel/trace trace_probe.c fprobe.c, samples/trace_events trace-events-sample.c

Merge tag 'probes-fixes-v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull probes fixes from Masami Hiramatsu:
 "fprobe fixes and spelling typos:

   - Fix NULL pointer dereference in fprobe_fgraph_entry(). Prevent
     general protection faults by checking shadow-stack reservation
     bounds. Skip mid-flight registered fprobes that were not counted
     during sizing.

  eprobe: fix string pointer extraction

   - Correct the casting of string pointers read from the ringbuffer to
     prevent truncation of base event pointer variables when
     dereferencing FILTER_PTR_STRING fields.

  tracing/probes: clean up argument parsing and BTF helper logic

   - Make the $ prefix mandatory for comm access: Require the $ prefix

    [28 lines not shown]
DeltaFile
+9-6kernel/trace/trace_probe.c
+10-0kernel/trace/fprobe.c
+4-0samples/trace_events/trace-events-sample.c
+1-1kernel/trace/trace_eprobe.c
+1-1kernel/trace/trace_probe.h
+25-85 files

NetBSD/pkgsrc TrHFljFtextproc/xmlto Makefile distinfo, textproc/xmlto/patches patch-xmlto_in

   xmlto: apply two shell-related tweaks

   First, make shell code used in the "-o" option parsing more portable.
   "type -p" hasn't been supported by NetBSD's sh since 8.0 (and also
   isn't universally supported elsewhere by other shells). This addresses
   PR pkg/60388 from Andrew Cagney. (Really here we're suppressing a
   warning rather than a failure, one that happens to show up in build
   logs.)

   (We could substitute "command -v" instead (recommended over bare "type"
   by a NetBSD shell guru), but since both the existing upstream code and
   a bunch of our patches are already using "type" in many places, I kept
   it consistent here.)

   Next, Makefile r. 1.32 removed bash as a runtime dependency, but didn't
   account for REPLACE_BASH still being defined, which results in a broken
   (though effectively harmless) substitution to "#!". (Here perhaps the
   pkgsrc replacement mechanism could be improved so it generates an error
   when the replacement path is empty.) This is only relevant for the test
   target.
VersionDeltaFile
1.2+15-5textproc/xmlto/patches/patch-xmlto_in
1.51+3-3textproc/xmlto/Makefile
1.19+2-2textproc/xmlto/distinfo
+20-103 files

LLVM/project f5ebc1allvm/lib/Target/AMDGPU AMDGPUMCInstLower.cpp, llvm/test/CodeGen/AMDGPU mcinstlower-external-symbol-reloc.mir

[AMDGPU] Apply target flag specifier when lowering MO_ExternalSymbol operands (#202389)

The MO_ExternalSymbol case in AMDGPUMCInstLower dropped the operand
target flags emitting the wrong relocation type
DeltaFile
+19-0llvm/test/CodeGen/AMDGPU/mcinstlower-external-symbol-reloc.mir
+2-1llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
+21-12 files

OpenBSD/ports 4HQxOq6sysutils/fastfetch Makefile distinfo

   Update fastfetch to 2.65.2
VersionDeltaFile
1.16+2-3sysutils/fastfetch/Makefile
1.16+2-2sysutils/fastfetch/distinfo
+4-52 files

FreeBSD/src a88932bsys/powerpc/conf QORIQ64

powerpc/conf: Remove temporary additions from QORIQ64

These were added during the DPAA driver rewrite, and should not have
gone in then.  Remove them.
DeltaFile
+0-3sys/powerpc/conf/QORIQ64
+0-31 files

LLVM/project e3f2e35clang/lib/Serialization ASTCommon.cpp

[Serialization] Delete an unreachable BlockDecl check (NFC) (#206298)

`needsAnonymousDeclarationNumber()` takes a `const NamedDecl *`. Both
`BlockDecl` and `NamedDecl` derive from `Decl`, in other words they're
siblings.

* https://clang.llvm.org/doxygen/classclang_1_1BlockDecl.html
* https://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html

Thus `isa<BlockDecl>(D)` is statically false.
DeltaFile
+1-1clang/lib/Serialization/ASTCommon.cpp
+1-11 files

FreeBSD/src 21ae611sys/powerpc/conf MPC85XX

powerpc: Remove DPAA from MPC85XX, it's 64-bit only now
DeltaFile
+0-1sys/powerpc/conf/MPC85XX
+0-11 files