LLVM/project 0ae9aafllvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine scalar_vector_gep.ll

[InstCombine] When rewriting GEPs, check that the types match. (#186886)
DeltaFile
+36-0llvm/test/Transforms/InstCombine/scalar_vector_gep.ll
+2-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+38-12 files

FreeBSD/ports 3be0f9fscience/abinit Makefile

science/abinit: Remove expiration lines
DeltaFile
+0-3science/abinit/Makefile
+0-31 files

LLVM/project 0ec9f7elldb/source/Core Debugger.cpp, lldb/source/Target Platform.cpp

[lldb] Add mechanism for auto-loading Python scripts from pre-configured paths (#187031)

Depends on:
* https://github.com/llvm/llvm-project/pull/187229

(only second commit and onwards are relevant)

This patch implements the base infrastructure described in this [RFC re.
Moving libc++ data-formatters out of
LLDB](https://discourse.llvm.org/t/rfc-lldb-moving-libc-data-formatters-out-of-lldb/89591)

The intention is to provide vendors with a way to pre-configure a set of
paths that LLDB can automatically ingest formatter scripts from.

Three main changes:
1. Adds a CMake variable `LLDB_SAFE_AUTO_LOAD_PATHS` which is a
semi-colon separated list of paths. This is intended to be set by
vendors when building LLDB for distribution.
2. Adds a setting that only exists in asserts mode called

    [28 lines not shown]
DeltaFile
+504-0lldb/unittests/Platform/PlatformTest.cpp
+72-1lldb/source/Target/Platform.cpp
+55-0lldb/source/Core/Debugger.cpp
+31-0lldb/test/Shell/Platform/AutoLoad/UNIX/safe-path-last-path-wins.test
+31-0lldb/test/Shell/Platform/AutoLoad/Darwin/dsym-takes-priority.test
+30-0lldb/test/Shell/Platform/AutoLoad/UNIX/safe-path-subpackage-import.test
+723-116 files not shown
+989-1122 files

FreeBSD/ports 8f29ec9science/atompaw Makefile distinfo

science/atompaw: update 4.2.0.3 → 4.2.0.5

PR:     293946
DeltaFile
+6-12science/atompaw/Makefile
+3-3science/atompaw/distinfo
+9-152 files

HardenedBSD/src 359505esecure/lib/libcrypto/modules Makefile.inc

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-3secure/lib/libcrypto/modules/Makefile.inc
+0-31 files

HardenedBSD/src ec4f0easys/amd64/amd64 trap.c exec_machdep.c, sys/amd64/ia32 ia32_signal.c

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

Conflicts:
        secure/lib/libcrypto/modules/Makefile.inc (unresolved)
DeltaFile
+71-48sys/amd64/amd64/trap.c
+46-70sys/dev/tpm/tpm20.c
+49-6sys/x86/include/frame.h
+28-0sys/amd64/ia32/ia32_signal.c
+14-14sys/dev/tpm/tpm_tis_core.c
+19-0sys/amd64/amd64/exec_machdep.c
+227-1388 files not shown
+255-16314 files

HardenedBSD/src e520fd1. Makefile.inc1, libexec/pkg-serve pkg-serve.c pkg-serve.8

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+230-0libexec/pkg-serve/tests/pkg_serve_test.sh
+180-0libexec/pkg-serve/pkg-serve.c
+107-0libexec/pkg-serve/pkg-serve.8
+29-0share/man/man4/man4.arm/dwcotg.4
+18-3Makefile.inc1
+17-1share/man/man5/src.conf.5
+581-434 files not shown
+656-4340 files

HardenedBSD/ports a3ea854cad/kicad-library-packages3d pkg-plist, devel/wasi-libc pkg-plist18 pkg-plist19

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+16-6,823cad/kicad-library-packages3d/pkg-plist
+2,053-0security/syft/files/modules.txt
+597-0security/syft/distinfo
+181-295textproc/hs-pandoc/distinfo
+225-225devel/wasi-libc/pkg-plist18
+225-225devel/wasi-libc/pkg-plist19
+3,297-7,56896 files not shown
+5,218-9,274102 files

LLVM/project 6891a6ecompiler-rt/lib/scudo/standalone chunk.h

[compiler-rt] Add bitmask to fix warning (#187812)

After #186881 was merged the gcc libc bots started complaining about the
conversion from u8 to 2 bit integer being unsafe (see:
https://lab.llvm.org/buildbot/#/builders/131/builds/42788). This PR
adds a bitmask that fixes the warning.
DeltaFile
+1-1compiler-rt/lib/scudo/standalone/chunk.h
+1-11 files

LLVM/project bae6a2allvm/cmake/modules LLVMExternalProjectUtils.cmake

[Runtimes] Fix Unix Makefiles race between runtimes-build and EXTRA_TARGETS (#187634)

In our downstream we have a non-runtime target depending on libclc
EXTRA_TARGET and then observe a race condition in parallel build: both
runtimes-build (full build, no lock) and libclc EXTRA_TARGET (triggered
by non-runtime target, FileLock) build concurrently, leading to corrupt
libclc library.

This exposes an limitation in ExternalProject EXTRA_TARGET design:
EXTRA_TARGETS in llvm_ExternalProject_Add only depend on
${name}-configure, not ${name}-build. This makes EXTRA_TARGETS unsafe as
dependencies of a non-runtime target..

Fix: Add a locked BUILD_COMMAND to ExternalProject_Add for Unix
Makefiles generator, using the same cmake.lock as EXTRA_TARGETS. This
serializes runtimes-build with all EXTRA_TARGETS under one lock.

With this PR, a non-runtime target can depend on a specific
EXTRA_TARGET, rather than needing to depend on the umbrella runtimes

    [9 lines not shown]
DeltaFile
+15-1llvm/cmake/modules/LLVMExternalProjectUtils.cmake
+15-11 files

LLVM/project 335a2d0clang/docs ReleaseNotes.rst, clang/lib/AST Expr.cpp

[clang] fix error: cannot compile this l-value expression yet (#187755)
DeltaFile
+17-0clang/test/CodeGenCXX/builtin_FUNCTION.cpp
+1-1clang/lib/AST/Expr.cpp
+1-0clang/docs/ReleaseNotes.rst
+19-13 files

LLVM/project 368f38bllvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp

[AMDGPU][SIInsertWaitcnts][NFC] SGPRInfo: Move score selection logic closer (#186518)

Selecting the score in SGPRInfo used to require an index which you would
get by calling a getSgprScoresIdx(), which is defined in a different
class.

This patch moves the score selection logic into the SGPRinfo. This makes
the interface simpler and more intuitive.

Also given that SGPRInfo contains only two scores, this patch also
replaces the score array with individual score variables.

Should be NFC.
DeltaFile
+22-20llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+22-201 files

LLVM/project a60b3a8libc/include threads.yaml

[libc] Fix function prototypes for <threads.h> C11 header. (#187808)

Fix return types and/or function arguments of several functions:
* mtx_destroy
* tss_delete
* thrd_exit
DeltaFile
+4-4libc/include/threads.yaml
+4-41 files

LLVM/project 57b0c94libc/src/__support/wctype perfect_hash_map.h

rename var
DeltaFile
+2-2libc/src/__support/wctype/perfect_hash_map.h
+2-21 files

LLVM/project f74010flibc/src/__support/CPP iterator.h, libc/src/__support/wctype perfect_hash_map.h

cleanup
DeltaFile
+1-2libc/src/__support/wctype/perfect_hash_map.h
+1-1libc/src/__support/CPP/iterator.h
+2-32 files

LLVM/project 3584492llvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv8.7a-xs.s armv9.5a-tlbiw.s

fixup! Move nxs bit into TLBIEntry rather than override
DeltaFile
+57-56llvm/test/MC/AArch64/armv8.7a-xs.s
+21-33llvm/lib/Target/AArch64/AArch64SystemOperands.td
+10-10llvm/test/MC/AArch64/armv9.5a-tlbiw.s
+88-993 files

LLVM/project 51c158bclang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets function-template.mustache

[clang-doc] Fix incorrectly rendered specialization args in HTML (#187761)

Function template specialization arguments were incorrectly rendered
without a comma. This was due to the "End" JSON property also being
used in the levels above. Mustache looks for missing properties in
parent contexts, see #174359.
DeltaFile
+2-2clang-tools-extra/test/clang-doc/templates.cpp
+2-2clang-tools-extra/test/clang-doc/json/class-specialization.cpp
+1-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+1-1clang-tools-extra/clang-doc/assets/function-template.mustache
+6-64 files

FreeBSD/src 8cc1c0fsys/amd64/amd64 trap.c

amd64 trap.c: provide tag for the struct sfhandlers definition

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-2sys/amd64/amd64/trap.c
+4-21 files

HardenedBSD/src 8cc1c0fsys/amd64/amd64 trap.c

amd64 trap.c: provide tag for the struct sfhandlers definition

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-2sys/amd64/amd64/trap.c
+4-21 files

FreeBSD/src 23dc485sys/amd64/include md_var.h

amd64: add prototype for ia32_syscall()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-0sys/amd64/include/md_var.h
+2-01 files

HardenedBSD/src acce5fasys/amd64/amd64 fpu.c

amd64: remove assertion about sizeof(struct pcb)

We no longer put pcb on stack, it is part of the struct thread.
Similarly, we do not put user fpu save area on stack.  There is no
constraints on the pcb size due to the XSAVE area required alignment.

Reviewed by:    jhb, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55931
DeltaFile
+0-7sys/amd64/amd64/fpu.c
+0-71 files

FreeBSD/src acce5fasys/amd64/amd64 fpu.c

amd64: remove assertion about sizeof(struct pcb)

We no longer put pcb on stack, it is part of the struct thread.
Similarly, we do not put user fpu save area on stack.  There is no
constraints on the pcb size due to the XSAVE area required alignment.

Reviewed by:    jhb, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55931
DeltaFile
+0-7sys/amd64/amd64/fpu.c
+0-71 files

HardenedBSD/src 23dc485sys/amd64/include md_var.h

amd64: add prototype for ia32_syscall()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-0sys/amd64/include/md_var.h
+2-01 files

FreeBSD/src 6275cd7sys/sys param.h

sys/param.h: bump __FreeBSD_version for amd64 struct trapframe size change

Requested by:   jhb
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-1sys/sys/param.h
+2-11 files

HardenedBSD/src 6275cd7sys/sys param.h

sys/param.h: bump __FreeBSD_version for amd64 struct trapframe size change

Requested by:   jhb
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-1sys/sys/param.h
+2-11 files

FreeBSD/ports f8cf3a2textproc/hs-pandoc distinfo Makefile

textproc/hs-pandoc: Update 3.8.3 => 3.9.0.2

Approved by:            haskell@ (alven@)
Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+181-295textproc/hs-pandoc/distinfo
+2-231textproc/hs-pandoc/Makefile
+191-0textproc/hs-pandoc/Makefile.cabal
+1-0textproc/hs-pandoc/pkg-plist
+375-5264 files

HardenedBSD/ports f8cf3a2textproc/hs-pandoc distinfo Makefile

textproc/hs-pandoc: Update 3.8.3 => 3.9.0.2

Approved by:            haskell@ (alven@)
Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+181-295textproc/hs-pandoc/distinfo
+2-231textproc/hs-pandoc/Makefile
+191-0textproc/hs-pandoc/Makefile.cabal
+1-0textproc/hs-pandoc/pkg-plist
+375-5264 files

LLVM/project 36daf3ellvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv8.7a-xs.s armv9.5a-tlbiw.s

fixup! Move nxs bit into TLBIEntry rather than override
DeltaFile
+57-56llvm/test/MC/AArch64/armv8.7a-xs.s
+17-30llvm/lib/Target/AArch64/AArch64SystemOperands.td
+3-3llvm/test/MC/AArch64/armv9.5a-tlbiw.s
+77-893 files

LLVM/project 720615fllvm/lib/Transforms/Vectorize/SandboxVectorizer DependencyGraph.cpp, llvm/unittests/Transforms/Vectorize/SandboxVectorizer DependencyGraphTest.cpp

[SandboxVec][DAG] Fix DAG update when user is scheduled (#187148)

This patch fixes the update of the DAGNode UnscheduledSucc counter when
a use edge is modified. This is the result of a setOperand() or a RAUW
(and friends) operation.

Before this patch we would not check if the User (i.e., the consumer of
the use-def edge) is scheduled and we would update the definition's
UnscheduledSucc counter, resulting in counting errors.

For example, consider the following IR:
```
  %A = ...
  %B = ...
  %U = %A  ; scheduled
```
Note that %U's DAGNode is marked as "scheduled" while %A and %B are not.

If we change %U's operand from %A to %B then we should not attempt to
update %A's or %B's UnscheduledSuccs because %U is scheduled so it
should not get counted as an "unscheduled" successor.
DeltaFile
+38-0llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+8-1llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
+46-12 files

LLVM/project 9ee437bclang/lib/CIR/Dialect/IR CIRDialect.cpp

fix code dup rebase bug
DeltaFile
+0-4clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+0-41 files