LLVM/project 2e2d90blibcxx/include any, libcxx/include/__chrono file_clock.h

[libc++] Introduce implicit and explicit ABI annotations (#193045)

This patch introduces `_LIBCPP_{BEGIN/END}_EXPLICIT_ABI_ANNOTATIONS` and
marks everything within an
`_LIBCPP_{BEGIN,END}_UNVERSIONED_NAMESPACE_STD` (and any derivatives
like `_LIBCPP_{BEGIN,END}_NAMESPACE_STD`) implicitly by default. This
allows us to drop `_LIBCPP_HIDE_FROM_ABI` in most of the code base,
except for functions which shouldn't be `_LIBCPP_HIDE_FROM_ABI`.

This patch doesn't remove any `_LIBCPP_HIDE_FROM_ABI`s, since we have
over 13k of them in the code base. Actually dropping them will happen
over some time to avoid too many merge conflicts.
DeltaFile
+22-0libcxx/include/__configuration/utility.h
+14-2libcxx/include/__configuration/namespace.h
+4-0libcxx/include/__new/new_handler.h
+4-0libcxx/include/__chrono/file_clock.h
+4-0libcxx/include/any
+4-0libcxx/src/expected.cpp
+52-2138 files not shown
+331-5144 files

LLVM/project 0bdf71dlldb/source/Core IOHandlerCursesGUI.cpp Debugger.cpp, lldb/test/API/commands/gui/console-output TestGuiConsoleOutput.py main.cpp

Revert "[lldb] Real-time console pane for output in lldb tui" (#196507)

Reverts llvm/llvm-project#177160

The new test is timing out on the AArch64 Linux buildbot
(https://lab.llvm.org/buildbot/#/builders/59/builds/34166) and on my own
machine.

I suspect something to do with the requested terminal size. If what we
get is smaller than requested, it could time out waiting for expected
program output.
DeltaFile
+23-357lldb/source/Core/IOHandlerCursesGUI.cpp
+0-138lldb/test/API/commands/gui/console-output/TestGuiConsoleOutput.py
+0-34lldb/test/API/commands/gui/console-output/main.cpp
+0-6lldb/source/Core/Debugger.cpp
+0-4lldb/source/Core/CoreProperties.td
+0-2lldb/test/API/commands/gui/console-output/Makefile
+23-5412 files not shown
+23-5448 files

LLVM/project ca7fe08clang/test/OpenMP spirv_target_teams_reduction_addrspace.c, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[llvm][OpenMP][SPIRV] Fix assertion for GPU reductions (#194879)

Currenty compiling a `target reduction` results in the following assert
for spirv64-intel target:

> Assertion `New->getType() == getType() && "replaceUses of value with
new value of different type!"' failed.

This patch fixes it by adding an addrespace cast where necessary to make
the types of the expressions match.

Assisted-by: claude-sonnet-4-5
DeltaFile
+33-0clang/test/OpenMP/spirv_target_teams_reduction_addrspace.c
+9-1llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+42-12 files

LLVM/project 11c0c42clang/lib/Driver/ToolChains Darwin.cpp AMDGPU.cpp

clang: Add BoundArch argument to addClangTargetOptions

addClangTargetOptions already has an OffloadKind argument,
but it kind of doesn't make sense for any function to know the
OffloadKind, but not the associated BoundArch.

The current process is kind of convoluted. TranslateArgs
synthesizes a -mcpu argument from BoundArch, and later
addClangTargetOptions re-parses that -mcpu argument each
time it wants the architecture. Add this argument so this
can be cleaned up in a future change.

Co-authored-by: Claude Sonnet 4 <noreply at anthropic.com>
DeltaFile
+9-5clang/lib/Driver/ToolChains/Darwin.cpp
+7-5clang/lib/Driver/ToolChains/AMDGPU.cpp
+7-3clang/lib/Driver/ToolChains/Darwin.h
+6-3clang/lib/Driver/ToolChains/AMDGPU.h
+5-3clang/lib/Driver/ToolChains/Gnu.h
+5-3clang/lib/Driver/ToolChains/Cuda.cpp
+39-2248 files not shown
+115-5654 files

LLVM/project 23590a8llvm/test/Transforms/InstSimplify compare.ll

update test
DeltaFile
+1-3llvm/test/Transforms/InstSimplify/compare.ll
+1-31 files

LLVM/project 88bb0e6llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 shuffles.ll build-vector-two-dup.ll

[AArch64]  Use EXT for byte shuffles with leading zeros (#193466)

Fixes: https://github.com/llvm/llvm-project/issues/191735

Teach AArch64 LowerVECTOR_SHUFFLE to recognize byte shuffles that are a
zero fill right shift and lower them to EXT with a zero vector. Adds a
regression test too.

Change-Id: Iffe97ff7e35cfaff790f537b4f1f5ba9aded4f92
DeltaFile
+184-0llvm/test/CodeGen/AArch64/shuffles.ll
+81-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+2-3llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
+1-3llvm/test/CodeGen/AArch64/build-vector-extract.ll
+268-64 files

LLVM/project b10baa4llvm/lib/Target/AMDGPU AMDGPU.td

Remove extra space
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPU.td
+1-11 files

OpenBSD/xenocara qWTZUpYapp/xkbcomp ChangeLog meson.build, app/xkbcomp/man xkbcomp.man

   Update to xkbcomp 1.5.0
VersionDeltaFile
1.19+314-0app/xkbcomp/ChangeLog
1.1+240-0app/xkbcomp/meson.build
1.10+100-48app/xkbcomp/xkbparse.y
1.5+43-34app/xkbcomp/man/xkbcomp.man
1.9+0-68app/xkbcomp/utils.c
1.26+24-33app/xkbcomp/configure
+721-18320 files not shown
+866-25426 files

OpenBSD/xenocara 2WrSLGIapp/xconsole meson.build ChangeLog, app/xconsole/man xconsole.man

   Update to xconsole 1.1.1
VersionDeltaFile
1.1+133-0app/xconsole/meson.build
1.8+57-0app/xconsole/ChangeLog
1.3+26-22app/xconsole/man/xconsole.man
1.6+29-13app/xconsole/compile
1.18+10-10app/xconsole/configure
1.1+5-0app/xconsole/meson.options
+260-453 files not shown
+263-489 files

OpenBSD/xenocara yZqhEHwapp/xbiff config.sub config.guess

   Update to xbiff 1.0.6
VersionDeltaFile
1.4+1,471-1,293app/xbiff/config.sub
1.4+1,028-753app/xbiff/config.guess
1.4+206-202app/xbiff/depcomp
1.4+144-259app/xbiff/missing
1.13+148-126app/xbiff/aclocal.m4
1.8+139-111app/xbiff/Makefile.in
+3,136-2,74413 files not shown
+3,633-3,03219 files

OpenBSD/xenocara DDFHnm5app/setxkbmap config.sub config.guess, app/setxkbmap/man setxkbmap.man

   Update to setxkbmap 1.3.5
VersionDeltaFile
1.4+1,471-1,293app/setxkbmap/config.sub
1.4+1,028-753app/setxkbmap/config.guess
1.4+206-202app/setxkbmap/depcomp
1.4+144-259app/setxkbmap/missing
1.4+183-154app/setxkbmap/man/setxkbmap.man
1.17+148-126app/setxkbmap/aclocal.m4
+3,180-2,78710 files not shown
+3,663-3,10816 files

OpenBSD/src EWD8S8Qsys/kern sysv_sem.c

   Do sleeping malloc() and copyin() before checks within sys_semop().
   Otherwise the semaphore id referenced by `semaptr' could be destroyed
   or replaced during context switch.

   ok cludwig
VersionDeltaFile
1.67+36-22sys/kern/sysv_sem.c
+36-221 files

OpenBSD/xenocara GJlbifrapp/rgb configure config.sub

   Update to rgb 1.1.1
VersionDeltaFile
1.14+3,730-3,395app/rgb/configure
1.3+1,471-1,293app/rgb/config.sub
1.3+1,028-753app/rgb/config.guess
1.4+292-292app/rgb/rgb.txt
1.3+216-202app/rgb/install-sh
1.3+206-202app/rgb/depcomp
+6,943-6,13716 files not shown
+7,711-6,75422 files

LLVM/project 9698c4dlldb/packages/Python/lldbsuite/test lldbtest.py, lldb/packages/Python/lldbsuite/test/tools/lldb-server gdbremote_testcase.py

[lldb][test] Move DAP processes to own group to avoid random SIGHUPs (#195816)

On macOS, LLDB's test suite randomly receives SIGHUP signals that stop
the test suite early. The source of these SIGHUP's seems to be a bug in
the kernel (most likely job control).

The exact steps for reproducing this are not clear, but I have a set of
three tests of which two need to run concurrently for this to trigger:

* TestDAP_runInTerminal
* TestDAP_launch_io_integratedTerminal
* TestDAP_launch_stdio_redirection_and_console

I was also running UBSan on this build which may or may not be necessary
to make this random failure more persistent.

When these tests run, macOS job control will send SIGHUP to the process
group of the spawned subprocesses in that test. As LIT is in the same
process group, it also receives the SIGHUP and shuts down.

    [8 lines not shown]
DeltaFile
+9-3lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py
+10-0lldb/packages/Python/lldbsuite/test/lldbtest.py
+5-1lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
+24-43 files

LLVM/project 0041fa4clang/test/Tooling clang-linker-wrapper-spirv.cpp, llvm/test/tools/llvm-objdump/Offloading nested-offload-binary.test nested-offload-binary-fails.test

[llvm][tools] Extend llvm-objdump to support nested OffloadBinaries (#185425)

Extends llvm-objdump to print the information of images contained in
nested OffloadBinaries. For example, for a binary compiled with #185413
it shows
```
 $llvm-objdump --offloading ./a.out

./a.out:        file format elf64-x86-64

OFFLOADING IMAGE [0]:
kind            elf
arch
triple          spirv64-intel
producer        openmp
image size      43104 bytes
  [Nested OffloadBinary format detected]
  Number of inner images: 1
  kind            spir-v

    [13 lines not shown]
DeltaFile
+85-0llvm/test/tools/llvm-objdump/Offloading/nested-offload-binary.test
+49-7llvm/tools/llvm-objdump/OffloadDump.cpp
+38-0llvm/test/tools/llvm-offload-binary/llvm-offload-binary.ll
+19-0llvm/test/tools/llvm-objdump/Offloading/nested-offload-binary-fails.test
+13-0clang/test/Tooling/clang-linker-wrapper-spirv.cpp
+4-0llvm/test/tools/llvm-objdump/Offloading/elf.test
+208-71 files not shown
+212-77 files

LLVM/project 218b7b4llvm/lib/Target/X86 X86InstrGISel.td, llvm/lib/Target/X86/GISel X86InstructionSelector.cpp X86LegalizerInfo.cpp

[X86][GlobalISel] Support globals in pic mode (#170038)

Introduce G_WRAPPER_RIP it is the same node as in DAG. It is required to
make legalization possible when a load from stub is required to obtain a
pointer to a global value. It allows to avoid manual selection in
X86InstructionSelector.

Also added a missing check on X86SelectAddress failure.
DeltaFile
+82-35llvm/test/CodeGen/X86/GlobalISel/GV.ll
+12-34llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
+32-1llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp
+6-6llvm/test/CodeGen/X86/machine-block-hash.mir
+9-0llvm/lib/Target/X86/X86InstrGISel.td
+4-2llvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-GV.mir
+145-781 files not shown
+148-787 files

LLVM/project d1ac3dfllvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

[DAG] canCreateUndefOrPoison - ISD::AssertSext/Zext/Align/NoFPClass only generate poison (#196492)
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+1-11 files

LLVM/project 8484aeaopenmp/device/src Reduction.cpp

remove unneeded always_inline instances
DeltaFile
+0-5openmp/device/src/Reduction.cpp
+0-51 files

OpenBSD/xenocara MBR5C3Capp/mkfontscale config.sub config.guess

   Update to mkfontscale 1.2.4
VersionDeltaFile
1.4+1,471-1,293app/mkfontscale/config.sub
1.4+1,028-753app/mkfontscale/config.guess
1.4+206-202app/mkfontscale/depcomp
1.4+144-259app/mkfontscale/missing
1.20+148-126app/mkfontscale/aclocal.m4
1.16+128-108app/mkfontscale/Makefile.in
+3,125-2,74110 files not shown
+3,513-2,94916 files

LLVM/project 11e06callvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

[DAG] canCreateUndefOrPoison - poison generating flags / out of range shift amounts only generate poison (#196489)

Matches ValueTracking / GISel implementations - although testing options are limited until DAG has actual uses of UndefPoisonKind::UndefOnly
DeltaFile
+3-2llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+3-21 files

LLVM/project 589f419llvm/lib/Target/X86/GISel X86LegalizerInfo.cpp X86RegisterBankInfo.cpp, llvm/test/CodeGen/X86 isel-fneg.ll

[X86][GlobalISel] Added support for FNEG (#167919)
DeltaFile
+116-0llvm/test/CodeGen/X86/GlobalISel/isel-fneg.mir
+57-12llvm/test/CodeGen/X86/isel-fneg.ll
+6-0llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp
+1-0llvm/lib/Target/X86/GISel/X86RegisterBankInfo.cpp
+180-124 files

OpenBSD/xenocara NSgyjYCapp/listres config.sub config.guess

   Update to listres 1.0.7
VersionDeltaFile
1.4+1,471-1,293app/listres/config.sub
1.4+1,028-753app/listres/config.guess
1.4+206-202app/listres/depcomp
1.4+144-259app/listres/missing
1.14+148-126app/listres/aclocal.m4
1.9+128-107app/listres/Makefile.in
+3,125-2,7408 files not shown
+3,447-2,95314 files

LLVM/project 2423265lldb/tools/lldb-dap CMakeLists.txt

[lldb-dap] Fix build when using precompiled header and Xcode generator. (#196366)

When building with precompiled headers and Xcode as a generator, It adds
`obj.lldbDAP.dir/${BUILD_TYPE}/cmake_pch.xxx` but does not generate one
causing the build to fail.
This might have to do with `add_llvm_library` adding a source file
`Dummy.c` to any object it creates if using Xcode as a generator and
`lldbDAP` object not declaring it's LINK_LIBS and LINK_COMPONENTS.
DeltaFile
+7-0lldb/tools/lldb-dap/CMakeLists.txt
+7-01 files

LLVM/project 0168948libclc README.md

[libclc] Use spirv[64]-mesa-mesa3d triple in README.md (#196483)

Now that #194607 landed we use a normalized triple in the README for the
SPIRV targets. Before `spirv-mesa3d-` and `spirv64-mesa3d-` were being
used and those will be normalized to `spirv-unknown-mesa3d` and
`spirv64-unknown-mesa3d` by the following command in
`runtimes/CMakeLists.txt` with this command:

```console
$ clang --target=spirv-mesa3d- -print-target-triple
spirv-unknown-mesa3d
```

This is because in `llvm/lib/TargetParser/Triple.cpp` the term `mesa3d`
is recognized as an OS and placed in third position. The install path
for `libclc.spv` there ends up in `spirv-unknown-mesa3d/libclc.spv`.

With this change we suggest to use triples that "survive" the
normalization:

    [7 lines not shown]
DeltaFile
+3-3libclc/README.md
+3-31 files

LLVM/project 54e6a03llvm/test/CodeGen/AArch64 bf16-v8-instructions.ll bf16-v4-instructions.ll, llvm/test/CodeGen/AMDGPU amdgpu-simplify-libcall-pow.ll arbitrary-fp-to-float.ll

Merge branch 'users/el-ev/icmp_strict_form' into users/el-ev/pr145204-comment
DeltaFile
+5,910-880llvm/test/CodeGen/AArch64/bf16-v8-instructions.ll
+3,306-504llvm/test/CodeGen/AArch64/bf16-v4-instructions.ll
+0-775llvm/utils/Reviewing/find_interesting_reviews.py
+665-0llvm/test/CodeGen/NVPTX/arbitrary-fp-to-float.ll
+329-329llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
+595-8llvm/test/CodeGen/AMDGPU/arbitrary-fp-to-float.ll
+10,805-2,4961,244 files not shown
+33,651-14,6661,250 files

FreeBSD/ports 79c341cfilesystems/mergerfs Makefile, filesystems/mergerfs/files patch-libfuse_include_fmt_format.h

filesystems/mergerfs: Fix build with newer Clang/libc++

The vendored fmt header uses malloc/free without including the
appropriate declarations, causing builds to fail on recent
FreeBSD -CURRENT toolchains.

Add the missing <cstdlib> include to libfuse/include/fmt/format.h.

Notified by:    pkg-fallout

(cherry picked from commit e60f6672636217373c1f86a19ccd168ac18c721a)
DeltaFile
+10-0filesystems/mergerfs/files/patch-libfuse_include_fmt_format.h
+1-1filesystems/mergerfs/Makefile
+11-12 files

FreeBSD/ports e60f667filesystems/mergerfs Makefile, filesystems/mergerfs/files patch-libfuse_include_fmt_format.h

filesystems/mergerfs: Fix build with newer Clang/libc++

The vendored fmt header uses malloc/free without including the
appropriate declarations, causing builds to fail on recent
FreeBSD -CURRENT toolchains.

Add the missing <cstdlib> include to libfuse/include/fmt/format.h.

Notified by:    pkg-fallout
DeltaFile
+10-0filesystems/mergerfs/files/patch-libfuse_include_fmt_format.h
+1-1filesystems/mergerfs/Makefile
+11-12 files

OpenBSD/xenocara TJjaPwCapp/iceauth config.sub config.guess

   Update to iceauth 1.0.11
VersionDeltaFile
1.4+1,471-1,293app/iceauth/config.sub
1.4+1,028-753app/iceauth/config.guess
1.4+206-202app/iceauth/depcomp
1.4+144-259app/iceauth/missing
1.17+148-126app/iceauth/aclocal.m4
1.12+128-107app/iceauth/Makefile.in
+3,125-2,74010 files not shown
+3,546-3,02316 files

FreeBSD/ports 1d9c60cdevel/jujutsu distinfo Makefile.crates

devel/jujutsu: update to version 0.41.0

For the complete list of changes see:

    https://github.com/jj-vcs/jj/releases/tag/v0.41.0
DeltaFile
+283-289devel/jujutsu/distinfo
+140-143devel/jujutsu/Makefile.crates
+1-2devel/jujutsu/Makefile
+424-4343 files

LLVM/project 4223779llvm/lib/Analysis InstructionSimplify.cpp, llvm/test/Transforms/InstSimplify compare.ll

[InstSimplify] Recognize strict-form variants in icmp simplification
DeltaFile
+73-0llvm/test/Transforms/InstSimplify/compare.ll
+26-8llvm/lib/Analysis/InstructionSimplify.cpp
+99-82 files