LLVM/project 197429d — mlir/lib/Dialect/Arith/IR CMakeLists.txt ArithOps.cpp, mlir/test/Dialect/Arith select-common-elementwise.mlir

[mlir] [arith] Combine op for select (#234818)

Fold select(c, F(a0, a1), F(b0, b1)) into F(select(c, a0, b0), select(c,
a1, b1))

Correctness provement:

Let's discuss the cases ignoring poison first.
As F is elementwise, we have

      F(a1, a2, ..., a_n)[p] = F(a1[p], a2[p], ..., a_n[p])

then for

      L = select(M, F(a0, a1, ..., a_n), F(b0, b1, ..., b_n))
      R = F(select(M, a0, b0), select(M, a1, b1), ....)

   for any position p, we have:


    [35 lines not shown]
DeltaFile
+137-0mlir/test/Dialect/Arith/select-common-elementwise.mlir
+119-0mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+8-0mlir/test/lib/Dialect/Test/TestOps.td
+1-0mlir/lib/Dialect/Arith/IR/CMakeLists.txt
+265-04 files

LLVM/project 05310f0 — clang/lib/Sema SemaAMDGPU.cpp, clang/test/Sema builtins-amdgcn-d16-image-16bit-error.c

[Clang][AMDGPU] Remove manual target feature check for image builtins
DeltaFile
+46-222clang/test/SemaOpenCL/builtins-extended-image-err.cl
+49-211clang/test/SemaOpenCL/builtins-image-load-image-feature-err.cl
+29-122clang/test/SemaOpenCL/builtins-image-store-image-feature-err.cl
+50-56clang/test/Sema/builtins-amdgcn-d16-image-16bit-error.c
+0-16clang/lib/Sema/SemaAMDGPU.cpp
+14-0clang/test/SemaHIP/amdgpu-image-builtins-feature.hip
+188-6271 files not shown
+202-6277 files

FreeBSD/ports 2cd4178 — devel/jenkins Makefile distinfo

devel/jenkins: Update to 2.590

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/jenkins/distinfo
+1-1devel/jenkins/Makefile
+4-42 files

NetBSD/pkgsrc-wip 78b2747 — tabiew TODO

tabiew: link to upstream bug reports
DeltaFile
+3-0tabiew/TODO
+3-01 files

HardenedBSD/src 6496ccb — share/man/man4 mps.4 mpr.4, sys/dev/mpr mpr.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+251-19sys/dev/mps/mps.c
+252-18sys/dev/mpr/mpr.c
+44-1share/man/man4/mps.4
+44-1share/man/man4/mpr.4
+4-3usr.sbin/uefisign/uefisign.c
+2-0sys/dev/mps/mpsvar.h
+597-422 files not shown
+600-438 files

HardenedBSD/src dff4b78 — share/man/man4 mps.4 mpr.4, sys/dev/mpr mpr.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+251-19sys/dev/mps/mps.c
+252-18sys/dev/mpr/mpr.c
+44-1share/man/man4/mps.4
+44-1share/man/man4/mpr.4
+4-3usr.sbin/uefisign/uefisign.c
+2-0sys/dev/mps/mpsvar.h
+597-422 files not shown
+600-438 files

HardenedBSD/src e9b3dd1 — sys/netinet/tcp_stacks rack.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+21-5sys/netinet/tcp_stacks/rack.c
+21-51 files

HardenedBSD/ports 99bc1f1 — archivers/libunrar/files patch-rijndael.cpp, comms/grig Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+17-22archivers/libunrar/files/patch-rijndael.cpp
+17-17comms/grig/Makefile
+14-0editors/openoffice-devel/files/patch-configure.ac
+0-13multimedia/ossia-score/files/patch-3rdparty_libossia_src_ossia_audio_pipewire__protocol.hpp
+0-12multimedia/ossia-score/files/patch-3rdparty_libossia_cmake_deps_boost.cmake
+12-0editors/openoffice-devel/files/patch-solenv_inc_unxfbsd.mk
+60-6435 files not shown
+159-13941 files

LLVM/project 2ae5a02 — llvm/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/lib/Target/AMDGPU R600InstrInfo.cpp

[Targets] Check Register::isPhysical before converting to MCRegister. (#242858)

Found by adding an assertion to Register::operator MCRegister.
DeltaFile
+3-4llvm/lib/Target/SystemZ/SystemZCopyPhysRegs.cpp
+3-3llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+3-2llvm/lib/Target/X86/X86InstrInfo.cpp
+3-2llvm/lib/Target/AMDGPU/R600InstrInfo.cpp
+2-1llvm/lib/Target/ARM/ThumbRegisterInfo.cpp
+14-125 files

LLVM/project 6518708 — clang-tools-extra/clang-tidy/bugprone MacroConditionCheck.h MacroConditionCheck.cpp, clang-tools-extra/clang-tidy/readability UseConcisePreprocessorDirectivesCheck.cpp

[clang-tidy] Add bugprone-macro-condition check (#210768)

Warns about inconsistent macro usage in preprocessor conditions.

  #define USE_FOO 0
  #ifdef USE_FOO
  // ...no preprocessor directives testing the value of USE_FOO
  #endif

Here USE_FOO is defined to a value (and furthermore defined to evaluate
to false) but the preprocessor condition only checks for the macro being
defined.

Fixes #27438
DeltaFile
+693-0clang-tools-extra/clang-tidy/bugprone/MacroConditionCheck.cpp
+247-0clang-tools-extra/test/clang-tidy/checkers/bugprone/macro-condition.cpp
+112-0clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-condition.md
+27-28clang-tools-extra/clang-tidy/readability/UseConcisePreprocessorDirectivesCheck.cpp
+40-0clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
+34-0clang-tools-extra/clang-tidy/bugprone/MacroConditionCheck.h
+1,153-2810 files not shown
+1,241-6516 files

FreeBSD/ports ea5a9ea — multimedia/ossia-score pkg-plist Makefile, multimedia/ossia-score/files patch-3rdparty_libossia_cmake_deps_boost.cmake patch-3rdparty_libossia_src_ossia_audio_pipewire__protocol.hpp

multimedia/ossia-score: update 3.8.2 → 3.9.0
DeltaFile
+0-13multimedia/ossia-score/files/patch-3rdparty_libossia_src_ossia_audio_pipewire__protocol.hpp
+0-12multimedia/ossia-score/files/patch-3rdparty_libossia_cmake_deps_boost.cmake
+5-3multimedia/ossia-score/distinfo
+5-2multimedia/ossia-score/Makefile
+1-0multimedia/ossia-score/pkg-plist
+11-305 files

HardenedBSD/ports ea5a9ea — multimedia/ossia-score pkg-plist Makefile, multimedia/ossia-score/files patch-3rdparty_libossia_cmake_deps_boost.cmake patch-3rdparty_libossia_src_ossia_audio_pipewire__protocol.hpp

multimedia/ossia-score: update 3.8.2 → 3.9.0
DeltaFile
+0-13multimedia/ossia-score/files/patch-3rdparty_libossia_src_ossia_audio_pipewire__protocol.hpp
+0-12multimedia/ossia-score/files/patch-3rdparty_libossia_cmake_deps_boost.cmake
+5-3multimedia/ossia-score/distinfo
+5-2multimedia/ossia-score/Makefile
+1-0multimedia/ossia-score/pkg-plist
+11-305 files

FreeBSD/ports 09eefc9 — archivers/draco distinfo Makefile, cad/OrcaSlicer Makefile

archivers/draco: update 1.5.7 → 1.5.9
DeltaFile
+8-4archivers/draco/pkg-plist
+7-1archivers/draco/Makefile
+3-3archivers/draco/distinfo
+1-1games/lwjgl3/Makefile
+1-1cad/opencascade/Makefile
+1-1cad/OrcaSlicer/Makefile
+21-114 files not shown
+25-1410 files

HardenedBSD/ports 39aeb98 — audio/jamulus Makefile distinfo

audio/jamulus: update 3_12_5 → 3.12.6
DeltaFile
+3-3audio/jamulus/distinfo
+1-1audio/jamulus/Makefile
+4-42 files

FreeBSD/ports 39aeb98 — audio/jamulus Makefile distinfo

audio/jamulus: update 3_12_5 → 3.12.6
DeltaFile
+3-3audio/jamulus/distinfo
+1-1audio/jamulus/Makefile
+4-42 files

FreeBSD/ports 8897c31 — math/libceed Makefile

math/libceed: fix tests; remove comment
DeltaFile
+4-3math/libceed/Makefile
+4-31 files

HardenedBSD/ports 09eefc9 — archivers/draco distinfo Makefile, graphics/blender Makefile

archivers/draco: update 1.5.7 → 1.5.9
DeltaFile
+8-4archivers/draco/pkg-plist
+7-1archivers/draco/Makefile
+3-3archivers/draco/distinfo
+1-1graphics/qgis/Makefile
+1-1graphics/qgis-ltr/Makefile
+1-1graphics/blender/Makefile
+21-114 files not shown
+25-1410 files

HardenedBSD/ports 8897c31 — math/libceed Makefile

math/libceed: fix tests; remove comment
DeltaFile
+4-3math/libceed/Makefile
+4-31 files

LLVM/project 7c3a9f2 — libc/src/__support/OSUtil/linux/syscall_wrappers personality.h pkey_mprotect.h

[libc] Simplify open/personality/pkey_mprotect/sched_getaffinity error handling (#242774)
DeltaFile
+3-6libc/src/__support/OSUtil/linux/syscall_wrappers/sched_getaffinity.h
+3-6libc/src/__support/OSUtil/linux/syscall_wrappers/open.h
+2-6libc/src/__support/OSUtil/linux/syscall_wrappers/pkey_mprotect.h
+2-5libc/src/__support/OSUtil/linux/syscall_wrappers/personality.h
+10-234 files

LLVM/project 4d5ae12 — orc-rt/include/orc-rt/support SymbolLookupSet.h, orc-rt/include/orc-rt/support/sps SPSRemoteSymbolLookupSet.h SPSSymbolLookupSet.h

[orc-rt] Add SymbolLookupSet for interned symbol names (#242969)

SymbolLookupSet holds symbol names as StringPool::Ptrs, so building a
set doesn't copy the name strings. It has the same interface as
RemoteSymbolLookupSet, which holds plain std::strings.

sps::lookupInJITDylib now takes a SymbolLookupSet. To support this:

- StringPool::Ptr and WeakPtr can be serialized to SPSString, which
writes the string's value. Only serialization is supported:
deserializing into an interned string would need a StringPool, and SPS
deserialization has no way to obtain one.

- SymbolLookupSet can be serialized (but not deserialized) as an
SPSSymbolLookupSet. The wire format doesn't change, so controllers are
unaffected.

- SPSRemoteSymbolLookupSet.h is renamed to SPSSymbolLookupSet.h, after
the tag it defines. It now holds the traits for both kinds of set.
DeltaFile
+88-0orc-rt/test/unit/support/SymbolLookupSetTest.cpp
+86-0orc-rt/include/orc-rt/support/sps/SPSSymbolLookupSet.h
+80-0orc-rt/test/unit/support/sps/SPSSymbolLookupSetTest.cpp
+0-75orc-rt/include/orc-rt/support/sps/SPSRemoteSymbolLookupSet.h
+74-0orc-rt/include/orc-rt/support/SymbolLookupSet.h
+0-61orc-rt/test/unit/support/sps/SPSRemoteSymbolLookupSetTest.cpp
+328-13611 files not shown
+411-16617 files

LLVM/project ff34c08 — clang/test/CIR/CodeGenHIP call-conv-lowering-amdgpu-kernel-args.hip

update hip test
DeltaFile
+30-30clang/test/CIR/CodeGenHIP/call-conv-lowering-amdgpu-kernel-args.hip
+30-301 files

LLVM/project 6b1f7ba — clang/lib/Interpreter Interpreter.cpp

[clang-repl] Fix leak when -mllvm parsing fails after #242861 (#242968)

Fix the InterpreterTest.BadLLVMArgs LeakSanitizer failure.
DeltaFile
+8-1clang/lib/Interpreter/Interpreter.cpp
+8-11 files

LLVM/project 3ceb1b3 — clang/test/CIR/CodeGen call-conv-lowering-amdgpu-cxx-records.cpp call-conv-lowering-amdgpu-return-types.c, clang/test/CIR/CodeGenHIP call-conv-lowering-amdgpu-kernel-args.hip

add working test cases after rebase
DeltaFile
+403-16clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-arg-types.c
+146-13clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-return-types.c
+88-13clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-cxx-records.cpp
+39-3clang/test/CIR/CodeGenHIP/call-conv-lowering-amdgpu-kernel-args.hip
+676-454 files

OpenBSD/ports nNtosR9 — sysutils/fastfetch Makefile distinfo

   Update fastfetch to 2.71.0
VersionDeltaFile
1.20+2-2sysutils/fastfetch/distinfo
1.20+1-1sysutils/fastfetch/Makefile
+3-32 files

LLVM/project 5edb24e — libc/config/gpu/spirv entrypoints.txt, libc/src/math/spirv ldexp.cpp ldexpf.cpp

[libc][GPU] Enable scalbn/ldexp, rand, remainder for SPIR-V (#242212)

This PR is a follow up of
https://github.com/llvm/llvm-project/pull/236324 to fix more build
issues for SPIR-V compiler-rt builtin tests. "Undefined symbols" from
libc and libm still lead to a bunch of build failures such as rand,
srand, scalbn/f, remainder/f. Before the fix, building results:

Total Discovered Tests: 275
  Unsupported: 125 (45.45%)
  Passed     : 128 (46.55%)
  Failed     :  22 (8.00%)

After the fix:
Total Discovered Tests: 275
  Unsupported: 125 (45.45%)
  Passed     : 136 (49.45%)
  Failed     :  14 (5.09%)
8 more tests can build pass now.

    [8 lines not shown]
DeltaFile
+31-0libc/src/math/spirv/CMakeLists.txt
+20-0libc/src/math/spirv/ldexp.cpp
+20-0libc/src/math/spirv/ldexpf.cpp
+20-0libc/src/math/spirv/scalbn.cpp
+20-0libc/src/math/spirv/scalbnf.cpp
+8-0libc/config/gpu/spirv/entrypoints.txt
+119-06 files

LLVM/project 3c4ada9 — llvm/tools/llvm-exegesis llvm-exegesis.cpp, llvm/tools/llvm-exegesis/lib DisassemblerHelper.cpp LlvmState.h

[llvm-exegesis] Parse library options into a context (#242680)

Parse the command line into a cl::LibraryOptionsContext instead of the
global option values. LLVMState::create takes the context and points
the target machine's MCOptions.LibraryOptions at it. The assembler's
LLVMContext and the disassembler's MCAsmInfo read from it as well.

LLM-aided
DeltaFile
+11-9llvm/tools/llvm-exegesis/llvm-exegesis.cpp
+6-5llvm/tools/llvm-exegesis/lib/LlvmState.cpp
+5-3llvm/tools/llvm-exegesis/lib/LlvmState.h
+3-4llvm/tools/llvm-exegesis/lib/DisassemblerHelper.cpp
+4-2llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
+4-2llvm/unittests/tools/llvm-exegesis/RISCV/TestBase.h
+33-256 files not shown
+52-3212 files

OpenBSD/ports gG4PyG3 — editors/qownnotes distinfo Makefile, editors/qownnotes/patches patch-libraries_qhotkey_qhotkey_prc

   Update qownnotes to 26.11.10
VersionDeltaFile
1.11+8-6editors/qownnotes/Makefile
1.11+2-2editors/qownnotes/distinfo
1.2+0-0editors/qownnotes/patches/patch-libraries_qhotkey_qhotkey_prc
+10-83 files

FreeBSD/ports 85c72f5 — comms/grig pkg-descr distinfo

comms/grig: Update 0.9.0 => 0.9.1

* Switch MASTER_SITES to static release tarball
* Add WWW for source code repository
* Clarify LICENSE
* Pet portclippy(1) and portfmt(1)
* Make option for DOCS, fix docs install location
* Cosmetic changes to pkg-descr

Approved by:            hamradio@ (alven@)
DeltaFile
+17-17comms/grig/Makefile
+5-5comms/grig/pkg-plist
+3-3comms/grig/pkg-descr
+3-3comms/grig/distinfo
+28-284 files

HardenedBSD/ports 85c72f5 — comms/grig pkg-descr distinfo

comms/grig: Update 0.9.0 => 0.9.1

* Switch MASTER_SITES to static release tarball
* Add WWW for source code repository
* Clarify LICENSE
* Pet portclippy(1) and portfmt(1)
* Make option for DOCS, fix docs install location
* Cosmetic changes to pkg-descr

Approved by:            hamradio@ (alven@)
DeltaFile
+17-17comms/grig/Makefile
+5-5comms/grig/pkg-plist
+3-3comms/grig/pkg-descr
+3-3comms/grig/distinfo
+28-284 files

HardenedBSD/ports 606fcd8 — editors/openoffice-devel/files patch-solenv_gbuild_platform_freebsd.mk patch-solenv_inc_unxfbsd.mk

editors/openoffice-devel: address sanitizer

Add ASAN option to build with address sanitizer.

Mark the ASAN option broken because the makedepend build tool has an
ASAN failure early in the build.

No PORTREVISON bump because the package is unchanged.
DeltaFile
+14-0editors/openoffice-devel/files/patch-configure.ac
+12-0editors/openoffice-devel/files/patch-solenv_gbuild_platform_freebsd.mk
+12-0editors/openoffice-devel/files/patch-solenv_inc_unxfbsd.mk
+38-03 files