LLVM/project 3e36b02 — llvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn build] Port 7e91ef5d6aea (#226869)
DeltaFile
+1-0llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+1-01 files

LLVM/project af39a01 — llvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysis/Analyses BUILD.gn, llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysis BUILD.gn

[gn build] Port ea0493b90c03 (#226870)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysis/BUILD.gn
+1-0llvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysis/Analyses/BUILD.gn
+2-02 files

LLVM/project 6bc9070 — clang/lib/Sema SemaOverload.cpp

[clang] clang-format two constructors (#226737)

I'd like to change these two in a patch, and the diff looks a bit
confusing since they aren't formatted yet. So format them in a prep
commit to make the diff clearer.

No behavior change.
DeltaFile
+12-17clang/lib/Sema/SemaOverload.cpp
+12-171 files

LLVM/project 372dc97 — libcxx/include/__format buffer.h, libcxx/test/std/utilities/format/format.functions bug_154670.pass.cpp

[libc++][format] Don't leave the output buffer full after a bulk write (#226791)

__output_buffer::push_back writes a code unit before it makes room, so
the buffer must always have a free one. __copy, __transform and __fill
write in chunks of the available space and could end with the buffer
full. Formatting into a back_insert_iterator of a string, vector or
deque goes through a 256 code unit buffer, so an argument or fill whose
length is a multiple of 256, followed by a literal, wrote that literal
past the end of the buffer.

Make room in a full buffer at the end of these functions, as push_back
does.

Fixes #154670
DeltaFile
+74-0libcxx/test/std/utilities/format/format.functions/bug_154670.pass.cpp
+12-0libcxx/include/__format/buffer.h
+86-02 files

LLVM/project d34c0c8 — orc-rt/test/regression lit.cfg.py, orc-rt/test/regression/jit-free-foundations check-rt-process-info.test

[orc-rt] Rename os-version substitution. (#226863)

This substitution is available and being tested on all platforms. It's
currently only populated on Darwin, but may be useful on other
platforms, so rename it to reflect its role.
DeltaFile
+2-2orc-rt/test/regression/lit.cfg.py
+1-1orc-rt/test/regression/jit-free-foundations/check-rt-process-info.test
+3-32 files

LLVM/project 795457f — llvm/include/llvm/BinaryFormat ELF.h, llvm/include/llvm/Object ELFTypes.h

[MC] Add ELF::getSymbolInfo and fix bitwise OR between enumeration types. NFC (#226860)

`ELF::STT_FILE | ELF::STB_LOCAL` puts the binding in the type bits,
which only works because STB_LOCAL is 0.

It combines enumerators from two distinct unnamed enums, which is
deprecated in C++20 and ill-formed in C++26 (P2864R2).
DeltaFile
+5-5llvm/lib/MC/ELFObjectWriter.cpp
+8-2llvm/include/llvm/BinaryFormat/ELF.h
+1-1llvm/include/llvm/Object/ELFTypes.h
+14-83 files

LLVM/project 373c54d — orc-rt/test/regression/jit-free-foundations check-rt-process-info.test, orc-rt/test/tools orc-rt-process-info-check.cpp

[orc-rt] Prefix test tool output, update test. (#226862)

Prefix the triple, page-size, and cpu-features lines of the
orc-rt-process-info-check. The prefixes can be used to ensure that the
test doesn't try to match patterns against the wrong lines.

Also relaxes the feature string check to allow an empty feature string.
DeltaFile
+3-3orc-rt/test/tools/orc-rt-process-info-check.cpp
+3-3orc-rt/test/regression/jit-free-foundations/check-rt-process-info.test
+6-62 files

LLVM/project cef4b65 — llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU llvm.amdgcn.dot.ll

[AMDGPU][InstCombine] Fold zero dot operands to accumulator (#225003)

Fold AMDGPU dot intrinsics when either operand is zero.

`dot(a, 0) = 0` and `dot(0, b) = 0`, so replace the intrinsic with its
accumulator.
This avoids unrelated clamp and add/sub reassociation cases.
DeltaFile
+15-30llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dot.ll
+3-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+18-302 files

FreeBSD/src d1c4838 — sys/x86/include x86_var.h specialreg.h, sys/x86/x86 identcpu.c

x86: add cpu_stdext_feature5

(cherry picked from commit 71f08bfa02a93d5d165ce96abc9077f36e4963b6)
DeltaFile
+10-0sys/x86/x86/identcpu.c
+5-0sys/x86/include/specialreg.h
+1-0sys/x86/include/x86_var.h
+16-03 files

FreeBSD/src d504e58 — sys/x86/include specialreg.h

x86: add definitions for the CORE_CAP and MEMORY_CTL MSRs

(cherry picked from commit 9aa031eb927720e26c8c11ce697f1c691ca0ef75)
DeltaFile
+8-0sys/x86/include/specialreg.h
+8-01 files

FreeBSD/src 9d436d9 — sys/amd64/amd64 sigtramp.S, sys/amd64/ia32 ia32_sigtramp.S

amd64/*sigtramp.S: re-enable some cfi annotations for special registers

(cherry picked from commit 64a73d1b6dc93d92daea1e2d0603fda1dddadf4a)
DeltaFile
+27-17sys/amd64/amd64/sigtramp.S
+13-6sys/amd64/ia32/ia32_sigtramp.S
+40-232 files

LLVM/project 6c75b01 — mlir/include/mlir/Dialect/LLVMIR LLVMIntrinsicOps.td, mlir/test/Dialect/LLVMIR roundtrip.mlir

[mlir][LLVM] Add smulh and umulh intrinsics. (#226776)

Assisted-by: grok-4.7
Signed-off-by: Letu Ren <fantasquex at gmail.com>
DeltaFile
+22-0mlir/test/Target/LLVMIR/Import/intrinsic.ll
+18-0mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
+6-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+2-0mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+48-04 files

LLVM/project dc01d7f — llvm/include/llvm/CodeGen SlotIndexes.h, llvm/lib/CodeGen SlotIndexes.cpp

[SlotIndexes] Add queries for stale indexes

An erased instruction leaves its index list entry in place, making the
index indistinguishable from a block boundary entry. Add
isBlockBoundaryIndex() and isStaleIndex() to tell the two apart, and
canonicalizeIndex() to resolve a stale index to the closest preceding
instruction's register slot, or the block start if none survives.

NFC. No caller yet. LiveDebugVariables is next.
DeltaFile
+207-0llvm/unittests/CodeGen/SlotIndexesTest.cpp
+29-0llvm/lib/CodeGen/SlotIndexes.cpp
+14-0llvm/include/llvm/CodeGen/SlotIndexes.h
+1-0llvm/unittests/CodeGen/CMakeLists.txt
+251-04 files

LLVM/project 355a730 — llvm/include/llvm/CodeGen LiveDebugVariables.h, llvm/lib/CodeGen LiveDebugVariables.cpp

[LiveDebugVariables] Repair stale SlotIndexes

The analysis keeps its indexes from before the first register allocator
until DBG_VALUEs are emitted, by which point passes in between have
erased some of the instructions they point at. Resolve them at the
start of each allocator run and before emitting.

SlotIndexes can then reclaim the entries of erased instructions without
sparing the ones held here, which would have made generated code depend
on -g. Emitted locations are unchanged, except that intervals resolving
to one position now emit a single DBG_VALUE rather than identical
consecutive ones.
DeltaFile
+137-0llvm/lib/CodeGen/LiveDebugVariables.cpp
+63-0llvm/test/DebugInfo/AMDGPU/live-debug-vars-stale-slot-indexes.ll
+8-4llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir
+8-0llvm/include/llvm/CodeGen/LiveDebugVariables.h
+5-2llvm/test/CodeGen/X86/debug-spilled-snippet.mir
+5-2llvm/test/CodeGen/X86/debug-spilled-snippet.ll
+226-81 files not shown
+233-87 files

LLVM/project a432c76 — llvm/lib/Target/X86 X86RegisterInfo.td

[X86][NFC] Simplify definition of TMM registers (#226779)
DeltaFile
+6-11llvm/lib/Target/X86/X86RegisterInfo.td
+6-111 files

LLVM/project 0b5277a — .github/workflows bazel-checks.yml

[Github] Add LLVM-libc's full-build to Bazel Checks workflow

This PR adds a job to run `bazelisk test --@llvm-project//libc:build_mode=full @llvm-project//libc/...`. It is part of an effort to support LLVM-libc's full build functionality in Bazel.
DeltaFile
+13-2.github/workflows/bazel-checks.yml
+13-21 files

LLVM/project 6e671d1 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/startup/linux BUILD.bazel

[bazel] Port 4faf0ae, 15cff90, 9028ff14, 4057f8e4
DeltaFile
+76-4utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+0-15utils/bazel/llvm-project-overlay/libc/startup/linux/x86_64/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/startup/linux/BUILD.bazel
+78-213 files

HardenedBSD/src 8832483 — lib/libthr libthr.3, lib/libthr/thread thr_init.c thr_pshared.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+62-0sbin/ifconfig/ifue.c
+14-11sys/compat/linux/linux_event.c
+22-3lib/libthr/thread/thr_pshared.c
+7-1lib/libthr/libthr.3
+4-0sbin/ifconfig/Makefile
+3-0lib/libthr/thread/thr_init.c
+112-151 files not shown
+113-157 files

HardenedBSD/src 0d19909 — lib/libthr libthr.3, lib/libthr/thread thr_init.c thr_pshared.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+62-0sbin/ifconfig/ifue.c
+14-11sys/compat/linux/linux_event.c
+22-3lib/libthr/thread/thr_pshared.c
+7-1lib/libthr/libthr.3
+4-0sbin/ifconfig/Makefile
+3-0lib/libthr/thread/thr_init.c
+112-151 files not shown
+113-157 files

HardenedBSD/src a872f29 — lib/libthr libthr.3, lib/libthr/thread thr_init.c thr_pshared.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+62-0sbin/ifconfig/ifue.c
+14-11sys/compat/linux/linux_event.c
+22-3lib/libthr/thread/thr_pshared.c
+7-1lib/libthr/libthr.3
+4-0sbin/ifconfig/Makefile
+3-0lib/libthr/thread/thr_init.c
+112-151 files not shown
+113-157 files

HardenedBSD/ports 7614984 — multimedia/graft Makefile.crates distinfo, net/wifibox-alpine Makefile distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+323-325www/garage/distinfo
+160-161www/garage/Makefile.crates
+253-0multimedia/graft/distinfo
+77-77net/wifibox-alpine/distinfo
+125-0multimedia/graft/Makefile.crates
+36-35net/wifibox-alpine/Makefile
+974-59879 files not shown
+1,371-91985 files

LLVM/project dbde142 — orc-rt/test/regression lit.cfg.py, orc-rt/test/regression/jit-free-foundations check-rt-process-info.test

[orc-rt] Fixing linux tests to enable CI (#226766)
DeltaFile
+3-0orc-rt/test/regression/lit.cfg.py
+1-1orc-rt/test/regression/jit-free-foundations/check-rt-process-info.test
+4-12 files

LLVM/project 842e152 — utils/bazel/llvm-project-overlay/libc libc_build_rules.bzl BUILD.bazel

[bazel][libc] Refactor to allow copts under full-build mode

This PR moves away from having sets of predefined groups of copts and allows just directly using them. This lets the Bazel rules more directly parallel CMake.
DeltaFile
+30-35utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+27-26utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+57-612 files

HardenedBSD/ports c33c04c — databases/pgbot Makefile

databases/pgbot: Drop Go version pin
DeltaFile
+1-1databases/pgbot/Makefile
+1-11 files

HardenedBSD/ports 4431cb5 — sysutils/mult Makefile

sysutils/mult: Drop Go version pin
DeltaFile
+1-1sysutils/mult/Makefile
+1-11 files

FreeBSD/ports c33c04c — databases/pgbot Makefile

databases/pgbot: Drop Go version pin
DeltaFile
+1-1databases/pgbot/Makefile
+1-11 files

FreeBSD/ports 4431cb5 — sysutils/mult Makefile

sysutils/mult: Drop Go version pin
DeltaFile
+1-1sysutils/mult/Makefile
+1-11 files

FreeBSD/ports f652950 — textproc/xray Makefile Makefile.crates

textproc/xray: Update to 0.5.1
DeltaFile
+27-29textproc/xray/distinfo
+12-13textproc/xray/Makefile.crates
+1-2textproc/xray/Makefile
+40-443 files

HardenedBSD/ports 6505cc9 — devel/glab-tui Makefile Makefile.crates

devel/glab-tui: Update to 0.9.2
DeltaFile
+11-11devel/glab-tui/distinfo
+4-4devel/glab-tui/Makefile.crates
+1-1devel/glab-tui/Makefile
+16-163 files

FreeBSD/ports 6505cc9 — devel/glab-tui Makefile Makefile.crates

devel/glab-tui: Update to 0.9.2
DeltaFile
+11-11devel/glab-tui/distinfo
+4-4devel/glab-tui/Makefile.crates
+1-1devel/glab-tui/Makefile
+16-163 files