LLVM/project 74be8edllvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp

[GlobalISel] Fix type mismatch in LegalizerHelper ternary (#180865)

### Summary

Fix type mismatch in ternary expression that causes GCC `-Werror=extra`
to fail.

### Details

GCC's `-Werror=extra` enforces stricter type consistency in ternary
expressions, in this case unsigned and an enum literal.

### Tested

- Built with ToT clang and GCC 13.3.0 on Linux x86_64 (not really
because there are other warnings, but this one is gone).
- All existing tests pass
DeltaFile
+3-2llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+3-21 files

Linux/linux 770aaedDocumentation/admin-guide bootconfig.rst, lib bootconfig.c

Merge tag 'bootconfig-v7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull bootconfig updates from Masami Hiramatsu:

 - Update the bootconfig parser to stop searching for a value when it
   encounters a newline character

 - Update the tests for bootconfig parser to ensure the good examples to
   be parsed correctly by comparing the expected results

* tag 'bootconfig-v7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  bootconfig: Check the parsed output of the good examples
  bootconfig: Terminate value search if it hits a newline
DeltaFile
+19-8lib/bootconfig.c
+16-8Documentation/admin-guide/bootconfig.rst
+8-0tools/bootconfig/samples/exp-good-simple.bconf
+8-0tools/bootconfig/samples/exp-good-tree.bconf
+5-0tools/bootconfig/samples/exp-good-mixed-kv3.bconf
+4-0tools/bootconfig/samples/bad-array-after-comment.bconf
+60-1613 files not shown
+88-1819 files

FreeBSD/ports 8eafb85devel/py-ty distinfo Makefile.crates

devel/py-ty: Update to 0.0.17

Changelog: https://github.com/astral-sh/ty/blob/0.0.17/CHANGELOG.md

Reported by:    Repology
DeltaFile
+19-17devel/py-ty/distinfo
+8-7devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+28-253 files

Linux/linux 3c6e577kernel/trace trace.c trace_printk.c

Merge tag 'trace-v7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing updates from Steven Rostedt:
 "User visible changes:

   - Add an entry into MAINTAINERS file for RUST versions of code

     There's now RUST code for tracing and static branches. To
     differentiate that code from the C code, add entries in for the
     RUST version (with "[RUST]" around it) so that the right
     maintainers get notified on changes.

   - New bitmask-list option added to tracefs

     When this is set, bitmasks in trace event are not displayed as hex
     numbers, but instead as lists: e.g. 0-5,7,9 instead of 0000015f

   - New show_event_filters file in tracefs


    [191 lines not shown]
DeltaFile
+139-919kernel/trace/trace.c
+430-0kernel/trace/trace_printk.c
+246-0kernel/trace/trace_pid.c
+157-6kernel/trace/trace_events.c
+113-18kernel/trace/trace.h
+66-35kernel/trace/trace_events_hist.c
+1,151-97825 files not shown
+1,392-1,07731 files

LLVM/project 5c4a8c1llvm/test/CodeGen/AArch64 clmul-scalable.ll, llvm/test/CodeGen/AMDGPU fptoi.i128.ll

Rebase before commit

Created using spr 1.3.6-beta.1
DeltaFile
+1,560-1,560llvm/test/tools/llvm-mca/RISCV/SiFive7/vector-fp.s
+80-2,209llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops-large-matrixes.ll
+470-1,417llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
+1,060-707llvm/test/CodeGen/AArch64/clmul-scalable.ll
+0-1,543llvm/test/Transforms/LoopVectorize/vplan-printing-reductions.ll
+1,542-0llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-reductions.ll
+4,712-7,4361,519 files not shown
+63,907-35,8981,525 files

LLVM/project 74599c6clang/test/Driver riscv-cpus.c, clang/test/Driver/print-enabled-extensions riscv-spacemit-a100.c

[RISCV] Add SpacemiT A100 processor definition (#174052)

DeltaFile
+102-0clang/test/Driver/print-enabled-extensions/riscv-spacemit-a100.c
+32-0llvm/lib/Target/RISCV/RISCVProcessors.td
+8-0clang/test/Driver/riscv-cpus.c
+2-0clang/test/Misc/target-invalid-cpu-note/riscv.c
+1-0llvm/docs/ReleaseNotes.md
+145-05 files

LLVM/project e003440clang/test/CXX/drs cwg24xx.cpp cwg4xx.cpp

[clang][NFC] Add missing indentation for expected-notes in C++ DR tests
DeltaFile
+3-3clang/test/CXX/drs/cwg24xx.cpp
+2-2clang/test/CXX/drs/cwg4xx.cpp
+1-1clang/test/CXX/drs/cwg30xx.cpp
+1-1clang/test/CXX/drs/cwg18xx.cpp
+1-1clang/test/CXX/drs/cwg16xx.cpp
+8-85 files

LLVM/project faa0be4clang/include/clang/Basic CodeGenOptions.def, clang/include/clang/Options Options.td

[clang] Ensure -mno-outline adds attributes

Before this change, `-mno-outline` and `-moutline` only controlled the
pass pipelines for the invoked compiler/linker.

The drawback of this implementation is that, when using LTO, only the
flag provided to the linker invocation is honoured (and any files which
individually use `-mno-outline` will have that flag ignored).

This change serialises the `-mno-outline` flag into each function's
IR/Bitcode, so that we can correctly disable outlining from functions in
files which disabled outlining, without affecting outlining choices for
functions from other files. This matches how other optimisation flags
are handled so the IR/Bitcode can be correctly merged during LTO.
DeltaFile
+7-10clang/include/clang/Options/Options.td
+14-3clang/test/CodeGen/attr-no-outline.c
+6-5clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-1clang/lib/CodeGen/CodeGenModule.cpp
+3-0clang/include/clang/Basic/CodeGenOptions.def
+1-1clang/test/Driver/x86-outliner.c
+34-203 files not shown
+37-239 files

LLVM/project 984175cclang/docs ReleaseNotes.rst

Release Note
DeltaFile
+2-0clang/docs/ReleaseNotes.rst
+2-01 files

LLVM/project d2be26aclang/include/clang/Basic AttrDocs.td Attr.td, clang/test/CodeGen attr-no-outline.c

[clang] Add clang::no_outline Attribute (#163666)

This change:

- Adds a `[[clang::no_outline]]` function attribute for C and C++. There
is no equivalent GNU syntax for this attribute, so no `__attribute__`
syntax.
- Uses the presence of `[[clang::no_outline]]` to add the `nooutline`
attribute to IR function definitions.
- Adds test for the above.

The `nooutline` attribute disables both the Machine Outliner (enabled at
Oz for some targets), and the IR Outliner (disabled by default).

Fixes #144135
DeltaFile
+107-0clang/test/CodeGen/attr-no-outline.c
+40-0clang/test/CodeGenObjC/attr-no-outline.m
+12-0clang/include/clang/Basic/AttrDocs.td
+7-0clang/test/Sema/attr-no-outline.c
+7-0clang/test/Sema/attr-no-outline.cpp
+7-0clang/include/clang/Basic/Attr.td
+180-03 files not shown
+187-09 files

LLVM/project e640d38llvm/lib/Target/RISCV RISCVFeatures.td, llvm/lib/TargetParser RISCVISAInfo.cpp

[RISCV] Simplify Extension Predicates, Compatibility (#181255)

This pushes some of our simplifications to extension dependencies into
other parts of RISCVISAInfo and into the tablegen predicates.

The key affected pieces are:
- Error messages around Zcd incompatibilities now reference only `zcd`.
- We now have a big list of extensions that are rv32-only.
DeltaFile
+51-72llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+17-30llvm/lib/TargetParser/RISCVISAInfo.cpp
+1-1llvm/lib/Target/RISCV/RISCVFeatures.td
+69-1033 files

LLVM/project bb71a33utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[mlir] Fix #176920 Add MLIRBindingsPythonLibHeaders library (#181447)

MLIRBindingsPythonLibHeaders includes internal headers.
DeltaFile
+9-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+9-01 files

FreeNAS/freenas 6bc9d95src/middlewared/middlewared auth.py

Avoid PAM evaluations when internal tokens

This is a protective measure against mis-administration
of server ever resulting in denial of HA NODE operations.
DeltaFile
+5-2src/middlewared/middlewared/auth.py
+5-21 files

LLVM/project 4833c51llvm/utils/TableGen DAGISelMatcherOpt.cpp DAGISelMatcher.h

Revert "[TableGen] Introduce MatcherList to manage a linked list of Matchers. NFC (#177875)"

This reverts commit 39613943855e6a82b1bb4c3d16fbaf2289a5d739.

It's failing across multiple build bots.
DeltaFile
+202-222llvm/utils/TableGen/DAGISelMatcherOpt.cpp
+59-250llvm/utils/TableGen/DAGISelMatcher.h
+59-53llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
+61-15llvm/utils/TableGen/DAGISelMatcher.cpp
+17-14llvm/utils/TableGen/DAGISelMatcherGen.cpp
+8-8llvm/utils/TableGen/DAGISelEmitter.cpp
+406-5626 files

LLVM/project 1b2196bflang-rt/lib/cuda allocator.cpp, flang-rt/unittests/Runtime/CUDA DefaultStream.cpp CMakeLists.txt

[flang][cuda] Add entry point for set/get default stream (#181440)

DeltaFile
+27-0flang-rt/unittests/Runtime/CUDA/DefaultStream.cpp
+8-0flang-rt/lib/cuda/allocator.cpp
+2-0flang/include/flang/Runtime/CUDA/allocator.h
+1-0flang-rt/unittests/Runtime/CUDA/CMakeLists.txt
+38-04 files

LLVM/project 3961394llvm/utils/TableGen DAGISelMatcherOpt.cpp DAGISelMatcher.h

[TableGen] Introduce MatcherList to manage a linked list of Matchers. NFC (#177875)

The previous memory management involved passing around references to the
std::unique_ptr next pointer in each Matcher. Scopes and
SwitchOpcode/SwitchType did not use std::unique_ptr internally, but
would sometimes need to have the pointers to their children moved to
temporary std::unique_ptrs that may be modified and then put back into
the Scope/Switch. Other code used manual deletion.

This patch introduces a MatcherList object that encapsulates list
management and ownership. The interface is based on std::forward_list
using the libcxx implementation for reference.

Once a Matcher is added to a MatcherList it can only be in that list or
spliced into another list. This ensures it is always owned by a list
that will be responsible for deleting it.

Scope and SwitchOpcode/Type children are now MatcherLists rather than
Matcher*. A nice side effect of this is that we no longer need a Size

    [7 lines not shown]
DeltaFile
+222-202llvm/utils/TableGen/DAGISelMatcherOpt.cpp
+250-59llvm/utils/TableGen/DAGISelMatcher.h
+53-59llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
+15-61llvm/utils/TableGen/DAGISelMatcher.cpp
+14-17llvm/utils/TableGen/DAGISelMatcherGen.cpp
+8-8llvm/utils/TableGen/DAGISelEmitter.cpp
+562-4066 files

OpenBSD/ports 7z88Z0cnet/ejabberd distinfo Makefile, net/ejabberd/pkg PLIST

   net/ejabberd: update to 26.02

   Changes: https://www.process-one.net/blog/ejabberd-26-02/
VersionDeltaFile
1.27+33-1net/ejabberd/pkg/PLIST
1.23+2-2net/ejabberd/distinfo
1.64+1-1net/ejabberd/Makefile
+36-43 files

LLVM/project 560e229libclc/clc/lib/generic/math clc_remquo.inc clc_remquo.cl

Revert "[libclc] replace float remquo with amd ocml implementation" (#181443)

Reverts llvm/llvm-project#177131
It broke SPIRV target: error in backend: unable to legalize instruction:
%88:fid(s32) = G_FCANONICALIZE
DeltaFile
+57-70libclc/clc/lib/generic/math/clc_remquo.inc
+1-10libclc/clc/lib/generic/math/clc_remquo.cl
+58-802 files

LLVM/project 75fcaeflibclc/opencl/lib/amdgcn/mem_fence fence.cl, libclc/opencl/lib/ptx-nvidiacl/mem_fence fence.cl

[libclc] Fix memory_scope and memory_order of *mem_fence builtins (#181311)

See OpenCL spec 6.15.12.5.
https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_C.html#fences

// Older syntax memory fences are equivalent to atomic_work_item_fence
with the // same flags parameter, memory_scope_work_group scope, and
ordering as follows:
void mem_fence(cl_mem_fence_flags flags)        // memory_order_acq_rel
void read_mem_fence(cl_mem_fence_flags flags)   // memory_order_acquire
void write_mem_fence(cl_mem_fence_flags flags)  // memory_order_release

---------

Co-authored-by: Copilot <175728472+Copilot at users.noreply.github.com>
DeltaFile
+10-5libclc/opencl/lib/amdgcn/mem_fence/fence.cl
+10-5libclc/opencl/lib/ptx-nvidiacl/mem_fence/fence.cl
+20-102 files

FreeBSD/ports d4f0ba9misc/crush distinfo Makefile

misc/crush: Update to 0.43.0

Changelog:
- https://github.com/charmbracelet/crush/releases/tag/v0.42.0
- https://github.com/charmbracelet/crush/releases/tag/v0.43.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-1misc/crush/Makefile
+6-62 files

NetBSD/pkgsrc Rayqe7achat/toxcore Makefile

   toxcore: fixed missing USE_LANGUAGES
VersionDeltaFile
1.11+2-2chat/toxcore/Makefile
+2-21 files

HardenedBSD/src fe2dd04share/mk src.opts.mk

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-3share/mk/src.opts.mk
+0-31 files

HardenedBSD/src e748bc2bin/timeout timeout.c, share/man/man4 multicast.4

Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master

Conflicts:
        share/mk/src.opts.mk (unresolved)
DeltaFile
+73-85bin/timeout/timeout.c
+54-38usr.bin/diff/tests/diff_test.sh
+26-18usr.bin/diff/diff.c
+20-15sys/netinet6/ip6_mroute.c
+15-14sys/netinet/ip_mroute.c
+22-4share/man/man4/multicast.4
+210-17420 files not shown
+294-21526 files

LLVM/project 41d2a0dlibclc/clc/lib/generic/math clc_remquo.inc clc_remquo.cl

Revert "[libclc] replace float remquo with amd ocml implementation (#177131)"

This reverts commit 20c15c7afe97a546d339a5500d3fa273412e2fda.
DeltaFile
+57-70libclc/clc/lib/generic/math/clc_remquo.inc
+1-10libclc/clc/lib/generic/math/clc_remquo.cl
+58-802 files

FreeBSD/ports 41f8859finance/homebox distinfo Makefile

finance/homebox: Update to 0.23.1

ChangeLogs:
https://github.com/sysadminsmedia/homebox/compare/v0.22.3...v0.23.1
DeltaFile
+7-7finance/homebox/distinfo
+3-4finance/homebox/Makefile
+10-112 files

LLVM/project edae8a4llvm/lib/Target/Hexagon HexagonISelLowering.cpp, llvm/test/CodeGen/Hexagon udiv-vector-nonuniform.ll

[Hexagon] Fix APInt assertion in getBuildVectorConstInts (#181202)

Truncate the ConstantSDNode APInt value to the element bit width before
creating the ConstantInt. After type legalization, a ConstantSDNode may
have a wider type than the vector element (e.g., i32 constant for an i16
element).
DeltaFile
+16-0llvm/test/CodeGen/Hexagon/udiv-vector-nonuniform.ll
+2-1llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
+18-12 files

LLVM/project 2bd77c8clang/include/clang/Driver SyclInstallationDetector.h, clang/lib/Driver/ToolChains SYCL.cpp Linux.cpp

[SYCL][Driver] Pass path to libsycl.so by default for SYCL compilation. (#174877)

This patch updates the default behavior for `SYCL` offload compilations.

Specifically, we now pass the path to the SYCL runtime library,
`libsycl.so`, by default to the `clang-linker-wrapper` tool, which is
responsible for linking the `SYCL` runtime library. We also add the SYCL
header include paths by default to both the SYCL host and device
compilations.
DeltaFile
+21-4clang/lib/Driver/ToolChains/SYCL.cpp
+8-0clang/include/clang/Driver/SyclInstallationDetector.h
+8-0clang/test/Driver/sycl-offload-jit.cpp
+2-0clang/lib/Driver/ToolChains/Linux.cpp
+39-44 files

FreeBSD/ports b596203security/netbird distinfo Makefile

security/netbird: Update 0.64.3 => 0.65.0

Changelogs:
https://github.com/netbirdio/netbird/releases/tag/v0.64.4
https://github.com/netbirdio/netbird/releases/tag/v0.64.5
https://github.com/netbirdio/netbird/releases/tag/v0.64.6
https://github.com/netbirdio/netbird/releases/tag/v0.65.0

Commit log:
https://github.com/netbirdio/netbird/compare/v0.64.3...v0.65.0

PR:             293166
Security:       CWE-639
MFH:            2026Q1
(cherry picked from commit 017c6673b5ab92e36deb712c6b98c300cefde1fa)
DeltaFile
+5-5security/netbird/distinfo
+1-3security/netbird/Makefile
+6-82 files

FreeBSD/ports ac4e023security/netbird distinfo Makefile

security/netbird: Update to 0.64.3

PR:             292826
(cherry picked from commit 972cee21eeffabdd722a5d7c92d890d2e08115c7)
DeltaFile
+5-5security/netbird/distinfo
+1-1security/netbird/Makefile
+6-62 files

FreeBSD/ports 26febd0security/netbird distinfo Makefile

security/netbird: Update 0.64.1 => 0.64.2

Changelog:
https://github.com/netbirdio/netbird/releases/tag/v0.64.2

Commit log:
https://github.com/netbirdio/netbird/compare/v0.64.1...v0.64.2

PR:     292762
(cherry picked from commit dd390032a0877d566e5126170ed30556b47e497c)
DeltaFile
+5-5security/netbird/distinfo
+1-1security/netbird/Makefile
+6-62 files