LLVM/project 8175bd9libclc/cmake/modules AddLibclc.cmake

[libclc][CMake] Check SOURCES and LIBRARIES arguments are not empty (#186542)
DeltaFile
+6-0libclc/cmake/modules/AddLibclc.cmake
+6-01 files

LLVM/project c31ffbfflang/lib/Lower OpenACC.cpp, flang/lib/Optimizer/Builder CUFCommon.cpp

[flang][cuda][openacc] Fix interoperability when host_data is not generated (#186516)

Update lowering to not process operands if the operation will not be
generated because of a `if(.false.)` clause. This was breaking when
enabling CUDA Fortran on the same test.
DeltaFile
+20-21flang/lib/Lower/OpenACC.cpp
+4-3flang/test/Lower/OpenACC/acc-host-data.f90
+2-0flang/lib/Optimizer/Builder/CUFCommon.cpp
+26-243 files

LLVM/project 5a87cbacompiler-rt/test/sanitizer_common/TestCases/Linux getpwnam_r_invalid_user.cpp

[NFC][sanitizer] Accept ETIMEDOUT in getpwnam_r_invalid_user.cpp (#186538)

On some systems, looking up an result in a timeout.

Error here is not a sign of compiler-rt issue.

Fixes flakiness on
https://lab.llvm.org/buildbot/#/builders/sanitizer-ppc64le-linux
DeltaFile
+2-1compiler-rt/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp
+2-11 files

LLVM/project bbb6417compiler-rt/test/sanitizer_common/TestCases/Linux getpwnam_r_invalid_user.cpp

Document inconsistent failure of getpwnam_r test

Added comment about inconsistent failure on some bots.
DeltaFile
+1-0compiler-rt/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp
+1-01 files

OpenBSD/src 9eHYcjTsys/net fq_codel.c

   plug a memory leak when detaching codel ifq disciplines on an interface.

   fqcodel_alloc() takes (moves) ownership of memory allocated as part
   of the pf queue code that sets up the queue discipline, but nothing
   releases it when the discipline is removed from the interface. every
   time you load a pf rulese that uses codel, it temporarily resets
   an interface to priq before creating and attaching new codel
   instances. this means every ruleset load would leak memory, to the
   point where M_DEVBUF allocations exhaust the kernel map.

   this has fqcodel_free() call fqcodel_pf_free to free the now unused
   codel discipline.

   found and fixed by lexi wilson
VersionDeltaFile
1.20+2-2sys/net/fq_codel.c
+2-21 files

NetBSD/pkgsrc-wip 9859c88prusaslicer distinfo, prusaslicer/patches patch-src_libslic3r_Geometry_VoronoiUtilsCgal.cpp patch-src_libslic3r_SLA_SupportIslands_VoronoiDiagramCGAL.cpp

prusaslicer: Fix build with latest CGAL/boost.
DeltaFile
+23-0prusaslicer/patches/patch-src_libslic3r_Geometry_VoronoiUtilsCgal.cpp
+22-0prusaslicer/patches/patch-src_libslic3r_SLA_SupportIslands_VoronoiDiagramCGAL.cpp
+15-0prusaslicer/patches/patch-src_libslic3r_Triangulation.cpp
+15-0prusaslicer/patches/patch-src_libslic3r_MeshBoolean.cpp
+4-0prusaslicer/distinfo
+79-05 files

LLVM/project e1ddff1compiler-rt/test/sanitizer_common/TestCases/Linux getpwnam_r_invalid_user.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-1compiler-rt/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp
+1-11 files

LLVM/project 0088575lldb/source/Plugins/LanguageRuntime/CPlusPlus CPPLanguageRuntime.cpp

[lldb] Upstream missing FixCodeAddress in CPPLanguageRuntime (#186519)
DeltaFile
+12-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
+12-01 files

HardenedBSD/src 4e9c1bcsys/contrib/zlib gzread.c zlib.h, sys/contrib/zlib/contrib/gcc_gvmat64 gvmat64.S

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+0-574sys/contrib/zlib/contrib/gcc_gvmat64/gvmat64.S
+190-124sys/contrib/zlib/gzread.c
+213-94sys/contrib/zlib/zlib.h
+168-99sys/contrib/zlib/gzwrite.c
+38-151sys/contrib/zlib/inflate.c
+91-91sys/contrib/zlib/inffixed.h
+700-1,13342 files not shown
+1,704-1,81048 files

HardenedBSD/src b795742sys/contrib/zlib gzread.c zlib.h, sys/contrib/zlib/contrib/gcc_gvmat64 gvmat64.S

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+0-574sys/contrib/zlib/contrib/gcc_gvmat64/gvmat64.S
+190-124sys/contrib/zlib/gzread.c
+213-94sys/contrib/zlib/zlib.h
+168-99sys/contrib/zlib/gzwrite.c
+38-151sys/contrib/zlib/inflate.c
+91-91sys/contrib/zlib/inffixed.h
+700-1,13342 files not shown
+1,704-1,81048 files

HardenedBSD/ports f78769asysutils/froxlor pkg-plist, sysutils/logstash91 Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+388-7sysutils/froxlor/pkg-plist
+117-0sysutils/logstash93/files/logstash.in
+92-0sysutils/logstash93/Makefile
+27-25sysutils/logstash91/Makefile
+27-25sysutils/logstash92/Makefile
+25-0sysutils/logstash93/files/pkg-message.in
+676-5727 files not shown
+790-11933 files

LLVM/project 696208bllvm/test/CodeGen/RISCV short-forward-branch-opt-with-branch-with-immediates_48_ne.ll short-forward-branch-opt-with-branch-with-immediates_48_eq.ll

[RISCV] Add codegen patterns to support short forward branches with immediates (#185643)

This is a follow-up to #182456. This PR adds support for short forward
branches where branches are from Qualcomm uC `Xqcibi` extension.
DeltaFile
+952-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-with-branch-with-immediates_48_ne.ll
+952-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-with-branch-with-immediates_48_eq.ll
+948-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-with-branch-with-immediates_48_sge.ll
+948-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-with-branch-with-immediates_48_slt.ll
+948-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-with-branch-with-immediates_48_uge.ll
+948-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-with-branch-with-immediates_48_ult.ll
+5,696-010 files not shown
+11,180-616 files

HardenedBSD/src 7aa1dbasys/contrib/zlib gzread.c zlib.h, sys/contrib/zlib/contrib/gcc_gvmat64 gvmat64.S

MFV: zlib 1.3.2.

Relnotes:       yes
MFC after:      2 weeks
DeltaFile
+0-574sys/contrib/zlib/contrib/gcc_gvmat64/gvmat64.S
+190-124sys/contrib/zlib/gzread.c
+213-94sys/contrib/zlib/zlib.h
+168-99sys/contrib/zlib/gzwrite.c
+38-151sys/contrib/zlib/inflate.c
+91-91sys/contrib/zlib/inffixed.h
+700-1,13331 files not shown
+1,622-1,75137 files

FreeBSD/src 7aa1dbasys/contrib/zlib gzread.c zlib.h, sys/contrib/zlib/contrib/gcc_gvmat64 gvmat64.S

MFV: zlib 1.3.2.

Relnotes:       yes
MFC after:      2 weeks
DeltaFile
+0-574sys/contrib/zlib/contrib/gcc_gvmat64/gvmat64.S
+190-124sys/contrib/zlib/gzread.c
+213-94sys/contrib/zlib/zlib.h
+168-99sys/contrib/zlib/gzwrite.c
+38-151sys/contrib/zlib/inflate.c
+91-91sys/contrib/zlib/inffixed.h
+700-1,13331 files not shown
+1,622-1,75137 files

FreeBSD/src 280d433contrib/gcc_gvmat64 gvmat64.S, contrib/vstudio/vc14 zlibvc.vcxproj

Vendor import of zlib 1.3.2.
DeltaFile
+570-574contrib/gcc_gvmat64/gvmat64.S
+0-1,100contrib/vstudio/vc9/zlibvc.vcproj
+0-875contrib/vstudio/vc17/zlibvc.vcxproj
+0-796contrib/vstudio/vc9/testzlib.vcproj
+0-781contrib/vstudio/vc9/zlibstat.vcproj
+0-668contrib/vstudio/vc14/zlibvc.vcxproj
+570-4,794244 files not shown
+10,397-25,093250 files

HardenedBSD/src 280d433contrib/gcc_gvmat64 gvmat64.S, contrib/vstudio/vc12 zlibvc.vcxproj

Vendor import of zlib 1.3.2.
DeltaFile
+570-574contrib/gcc_gvmat64/gvmat64.S
+0-1,100contrib/vstudio/vc9/zlibvc.vcproj
+0-875contrib/vstudio/vc17/zlibvc.vcxproj
+0-796contrib/vstudio/vc9/testzlib.vcproj
+0-781contrib/vstudio/vc9/zlibstat.vcproj
+0-668contrib/vstudio/vc12/zlibvc.vcxproj
+570-4,794244 files not shown
+10,397-25,093250 files

LLVM/project 5d3aae9libclc/clc/include/clc/math clc_ep_decl.inc clc_ep.inc, libclc/opencl/lib/generic/relational relational_binary_def.inc binary_def.inc

[libclc][NFC] Rename three .inc files to avoid name conflicts (#186384)

Follow-up of 9b96ebc. There are binary_def.inc and unary_def.inc in
header directory.
- clc_ep.inc -> clc_ep_decl.inc
- relational/binary_def.inc -> relational/relational_binary_def.inc
- relational/unary_def.inc -> relational/relational_unary_def.inc
DeltaFile
+131-0libclc/clc/include/clc/math/clc_ep_decl.inc
+0-131libclc/clc/include/clc/math/clc_ep.inc
+24-0libclc/opencl/lib/generic/relational/relational_binary_def.inc
+0-24libclc/opencl/lib/generic/relational/binary_def.inc
+23-0libclc/opencl/lib/generic/relational/relational_unary_def.inc
+0-23libclc/opencl/lib/generic/relational/unary_def.inc
+178-17815 files not shown
+193-19321 files

LLVM/project 4409a62llvm/unittests/Support Caching.cpp

[NFC][Support] Don't test UB in Caching.WriteAfterCommit (#186532)

The test expects crash after commit essentially null-dereferencing.
Just check that it's nullptr directly.

Fixes asan/ubsan buildbot.
DeltaFile
+1-3llvm/unittests/Support/Caching.cpp
+1-31 files

LLVM/project de2bf13clang/test/CodeGenHLSL basic_types.hlsl, clang/test/CodeGenHLSL/BasicFeatures VectorElementwiseCast.hlsl InitLists.hlsl

[clang][DirectX] Specify element-aligned vectors in TargetInfo (#185954)

Add a bit to TargetInfo to specify that vectors are element-aligned
rather than naturally aligned. This is needed to match DirectX's Data
Layout in LLVM.

Note that this removes the `Opts.HLSL` early exit from
`checkDataLayoutConsistency` so that we actually get these checks when
compiling HLSL. This check looks like it was put there because of
similarity between OpenCL and HLSL, but it isn't actually necessary.

Resolves #123968
DeltaFile
+48-48clang/test/CodeGenHLSL/builtins/mad.hlsl
+30-30clang/test/CodeGenHLSL/BasicFeatures/VectorElementwiseCast.hlsl
+27-27clang/test/CodeGenHLSL/basic_types.hlsl
+26-26clang/test/CodeGenHLSL/BasicFeatures/InitLists.hlsl
+18-18clang/test/CodeGenHLSL/BasicFeatures/MatrixToAndFromVectorConstructors.hlsl
+18-18clang/test/CodeGenHLSL/builtins/ScalarSwizzles.hlsl
+167-16735 files not shown
+377-36141 files

FreeBSD/ports 77f5fccscience/py-obspy distinfo Makefile

science/py-obspy: Update to 1.5.0
DeltaFile
+3-3science/py-obspy/distinfo
+1-2science/py-obspy/Makefile
+4-52 files

HardenedBSD/ports 77f5fccscience/py-obspy distinfo Makefile

science/py-obspy: Update to 1.5.0
DeltaFile
+3-3science/py-obspy/distinfo
+1-2science/py-obspy/Makefile
+4-52 files

DragonFlyBSD/dports e2f31ebfinance/odoo pkg-plist, misc/py-tvm pkg-plist

Merge branch 'staged'
DeltaFile
+87,820-0misc/py-tvm/pkg-plist
+0-46,308finance/odoo/pkg-plist
+26,051-3,163x11-themes/xfce-icons-elementary/pkg-plist
+0-22,893x11-themes/kf5-breeze-icons/pkg-plist
+22,006-0www/drupal11/pkg-plist
+14,336-0www/dolibarr19/pkg-plist
+150,213-72,36431,824 files not shown
+619,971-504,67731,830 files

HardenedBSD/src eb0a78fsys/x86/include specialreg.h, sys/x86/x86 identcpu.c

x86 FRED: add CPUID, MSR, and CR4 bits

Reviewed by:    jhb
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55810
DeltaFile
+23-0sys/x86/include/specialreg.h
+7-4sys/x86/x86/identcpu.c
+30-42 files

FreeBSD/src eb0a78fsys/x86/include specialreg.h, sys/x86/x86 identcpu.c

x86 FRED: add CPUID, MSR, and CR4 bits

Reviewed by:    jhb
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55810
DeltaFile
+23-0sys/x86/include/specialreg.h
+7-4sys/x86/x86/identcpu.c
+30-42 files

LLVM/project 5e6a6d7libc/src/stdio/gpu file.h

[libc] Reference the proper namespaced variables in the GPU header

Summary:
These linked to the extern "C" versions which did not exist in test
builds.
DeltaFile
+3-1libc/src/stdio/gpu/file.h
+3-11 files

LLVM/project 7bc3bb0llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[ScalarEvolution] Limit recursion in getRangeRef for PHI nodes. (#152823)

Restrict PHI nodes that getRangeRef is allowed to recursively examine so
we don't need a "visited" set. And fix createSCEVIter so it creates all
the relevant SCEV nodes before getRangeRef tries to examine them.

The tests that are affected have induction variables that aren't
AddRecs. (Other cases are theoretically affected, but don't seem to show
up in our tests.)
DeltaFile
+110-31llvm/lib/Analysis/ScalarEvolution.cpp
+8-8llvm/test/Analysis/ScalarEvolution/shift-recurrences.ll
+6-6llvm/test/Analysis/ScalarEvolution/addrec-computed-during-addrec-calculation.ll
+5-5llvm/test/Analysis/ScalarEvolution/ranges.ll
+0-6llvm/include/llvm/Analysis/ScalarEvolution.h
+2-2llvm/test/Transforms/LICM/update-scev-after-hoist.ll
+131-585 files not shown
+136-6311 files

LLVM/project 60669c1clang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGen call-graph-section-internal.cpp

Fix callee type generation (#186272)

The callee_type metadata is expected to be a list of generalized type
metadata by the IR verifier. But for indirect calls with internal
linkage the type metadata is just an integer. Avoid including them in
callee_type metadata.

This will reduce the precision of the generated call graph as the edges to internal linkage functions whose address were taken will not be present anymore. We need to handle this in the future.
DeltaFile
+37-0clang/test/CodeGen/call-graph-section-internal.cpp
+6-2clang/lib/CodeGen/CodeGenModule.cpp
+43-22 files

LLVM/project a27a504llvm/unittests/Support Caching.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-3llvm/unittests/Support/Caching.cpp
+1-31 files

LLVM/project 7449009lldb/tools/darwin-mte-launcher darwin-mte-launcher.cpp

[lldb] Enable SanitizersAllocationTraces=tagged in darwin-mte-launcher (#186326)

Collect allocation traces for tagged memory when using the
`darwin-mte-launcher` to help debug MTE crashes.
DeltaFile
+19-8lldb/tools/darwin-mte-launcher/darwin-mte-launcher.cpp
+19-81 files

LLVM/project 8121900lldb/utils/lldb-dotest CMakeLists.txt lldb-dotest.in

[lldb] Add support for the darwin-mte-launcher to lldb-dotest (#186319)

Add support for the `darwin-mte-launcher` to `lldb-dotest` when LLDB is
configured to run the tests under MTE.
DeltaFile
+5-0lldb/utils/lldb-dotest/CMakeLists.txt
+3-0lldb/utils/lldb-dotest/lldb-dotest.in
+8-02 files