LLVM/project 8179135clang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

update CIRGlobalValueInterface for section
DeltaFile
+16-0clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+2-3clang/lib/CIR/CodeGen/CIRGenModule.cpp
+0-1clang/include/clang/CIR/MissingFeatures.h
+18-43 files

LLVM/project 669632cclang/lib/CIR/CodeGen/Targets AMDGPU.cpp, clang/test/Analysis ctu-main.cpp

Merge branch 'main' into users/kasuga-fj/da-weak-zero-siv-add-nsw-check
DeltaFile
+290-378llvm/test/CodeGen/X86/srem-vector-lkk.ll
+624-0llvm/test/CodeGen/AMDGPU/ctls.ll
+285-101llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
+138-248llvm/test/CodeGen/X86/urem-vector-lkk.ll
+255-0clang/lib/CIR/CodeGen/Targets/AMDGPU.cpp
+0-249clang/test/Analysis/ctu-main.cpp
+1,592-976599 files not shown
+11,654-6,682605 files

LLVM/project 2d10261clang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Dialect/IR CIROps.td

[CIR][CIRGen] Support for section atttribute
DeltaFile
+26-13clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+20-3clang/lib/CIR/CodeGen/CIRGenModule.cpp
+14-0clang/test/CIR/CodeGen/global-section.c
+7-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+0-1clang/include/clang/CIR/MissingFeatures.h
+67-185 files

DragonFlyBSD/src 57f067cshare/mk Makefile bsd.sys.mk

share/mk: Minor style cleanups
DeltaFile
+4-2share/mk/Makefile
+3-2share/mk/bsd.sys.mk
+7-42 files

DragonFlyBSD/src 0ad96ccgnu/usr.bin/cc120/libbackend Makefile, gnu/usr.bin/cc120/support-libs/libcommon Makefile

cc80,cc120: Adjust -Wno-narrowing for GCC >= 8.0

Add the necessary check for cc80 libraries so that GCC 12 succeeds in
building GCC 8.

Meanwhile, improve the GCC check to check for any GCC version >= 8.0.
DeltaFile
+1-1gnu/usr.bin/cc120/libbackend/Makefile
+1-1gnu/usr.bin/cc120/support-libs/libcommon-target/Makefile
+1-1gnu/usr.bin/cc120/support-libs/libcommon/Makefile
+1-1gnu/usr.bin/cc80/libbackend/Makefile
+1-1gnu/usr.bin/cc80/support-libs/libcommon-target/Makefile
+1-1gnu/usr.bin/cc80/support-libs/libcommon/Makefile
+6-66 files

LLVM/project 3d6c0a6clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGenCXX global-refs.cpp

[CIR] Match codegen change on global temporary

- Match codgen chagne from cbe9891b44d3d1c15bd8f632d6d84e486751e530
DeltaFile
+8-3clang/lib/CIR/CodeGen/CIRGenModule.cpp
+2-2clang/test/CIR/CodeGenCXX/global-refs.cpp
+10-52 files

LLVM/project 83451d8clang/lib/CIR/CodeGen TargetInfo.cpp CIRGenModule.cpp, clang/lib/CIR/CodeGen/Targets AMDGPU.cpp

[CIR][AMDGPU] Add AMDGPU-specific function attributes for HIP kernels (#188007)

Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2091

This patch adds support for AMDGPU-specific function attributes for HIP
kernels

Added setTargetAttributes for AMDGPUTargetCIRGenInfo to set kernel
attributes
Added generic string attribute handler in amendFunction to translate
string-values with "cir." prefix function attributes to LLVM function
attributes
Follows OGCG AMDGPU implementation from
"clang/lib/CodeGen/Targets/AMDGPU.cpp".
DeltaFile
+255-0clang/lib/CIR/CodeGen/Targets/AMDGPU.cpp
+98-0clang/test/CIR/CodeGenHIP/amdgpu-attrs.hip
+21-3clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMIR.cpp
+17-0clang/lib/CIR/CodeGen/TargetInfo.cpp
+8-6clang/lib/CIR/CodeGen/CIRGenModule.cpp
+9-0clang/lib/CIR/CodeGen/TargetInfo.h
+408-92 files not shown
+409-108 files

FreeBSD/src 74f3572sys/contrib/zlib gzread.c zlib.h, sys/contrib/zlib/contrib/gcc_gvmat64 gvmat64.S

MFC: MFV: zlib 1.3.2.

Relnotes:       yes

(cherry picked from commit 7aa1dba6b00ccfb7d66627badc8a7aaa06b02946)
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

LLVM/project 3bef187clang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

update CIRGlobalValueInterface for section
DeltaFile
+16-0clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+2-4clang/lib/CIR/CodeGen/CIRGenModule.cpp
+0-1clang/include/clang/CIR/MissingFeatures.h
+18-53 files

LLVM/project accf41ellvm/include/llvm/Analysis DependenceAnalysis.h, llvm/lib/Analysis DependenceAnalysis.cpp

[DA] Add precondition `0 <=s UB` to function `inferAffineDomain` (#187218)

This patch fixes issues where the Exact SIV/RDIV tests can return
incorrect results when the BTC is negative in a signed sense. The root
cause is that BTCs should be interpreted in an unsigned sense, but
`inferAffineDomain` uses the BTC in inequalities that are interpreted in
a signed sense. These inequalities make sense only when the BTC is
non-negative. Thus we need to check it beforehand.
DeltaFile
+27-29llvm/lib/Analysis/DependenceAnalysis.cpp
+5-4llvm/include/llvm/Analysis/DependenceAnalysis.h
+2-2llvm/test/Analysis/DependenceAnalysis/rdiv-large-btc.ll
+34-353 files

HardenedBSD/src 40094cd. Makefile.inc1, sys/kern kern_event.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+18-2sys/vm/vm_fault.c
+17-0sys/sys/filedesc.h
+13-1sys/kern/kern_event.c
+1-1Makefile.inc1
+0-2sys/x86/isa/atpic.c
+2-0sys/x86/isa/icu.h
+51-66 files

HardenedBSD/src a9027c5. Makefile.inc1, sys/kern kern_event.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+18-2sys/vm/vm_fault.c
+17-0sys/sys/filedesc.h
+13-1sys/kern/kern_event.c
+0-2sys/x86/isa/atpic.c
+1-1Makefile.inc1
+2-0sys/x86/isa/icu.h
+51-66 files

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

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+117-85sys/amd64/amd64/trap.c
+53-6sys/x86/include/frame.h
+28-0sys/amd64/ia32/ia32_signal.c
+23-0sys/x86/include/specialreg.h
+19-0sys/amd64/amd64/exec_machdep.c
+11-1sys/dev/mlx5/mlx5_core/mlx5_cmd.c
+251-925 files not shown
+263-10411 files

LLVM/project 8a49af8clang/lib/AST/ByteCode Interp.h Compiler.cpp

[clang][bytecode] Pass bitfield width directly to opcodes (#188423)

Pass a `FieldOffset` + `FieldBitWidth` pair instead of a `Record::Field`
pointer.
DeltaFile
+16-18clang/lib/AST/ByteCode/Interp.h
+9-6clang/lib/AST/ByteCode/Compiler.cpp
+3-11clang/lib/AST/ByteCode/Opcodes.td
+4-0clang/lib/AST/ByteCode/Record.h
+32-354 files

FreeBSD/ports a1a67a4sysutils/py-dbuild distinfo Makefile

sysutils/py-dbuild: Update to 1.8.1

ChangeLogs:

- https://github.com/daemonless/dbuild/releases/tag/v1.8.0
- https://github.com/daemonless/dbuild/releases/tag/v1.8.1
DeltaFile
+3-3sysutils/py-dbuild/distinfo
+1-2sysutils/py-dbuild/Makefile
+4-52 files

HardenedBSD/ports a1a67a4sysutils/py-dbuild distinfo Makefile

sysutils/py-dbuild: Update to 1.8.1

ChangeLogs:

- https://github.com/daemonless/dbuild/releases/tag/v1.8.0
- https://github.com/daemonless/dbuild/releases/tag/v1.8.1
DeltaFile
+3-3sysutils/py-dbuild/distinfo
+1-2sysutils/py-dbuild/Makefile
+4-52 files

LLVM/project 924a4adlibc/shared/math f16subl.h bf16fmal.h

[libc] Guard long double shared math functions against double-double. (#188909)
DeltaFile
+6-0libc/shared/math/f16subl.h
+6-0libc/shared/math/bf16fmal.h
+6-0libc/shared/math/bf16mull.h
+6-0libc/shared/math/canonicalizel.h
+6-0libc/shared/math/ceill.h
+6-0libc/shared/math/daddl.h
+36-025 files not shown
+186-031 files

LLVM/project 5c361baclang/test/Analysis ctu-main.cpp, clang/test/Analysis/ctu main.cpp

Merge branch 'main' into users/kasuga-fj/da-fix-large-btc-for-exact-tests
DeltaFile
+290-378llvm/test/CodeGen/X86/srem-vector-lkk.ll
+624-0llvm/test/CodeGen/AMDGPU/ctls.ll
+138-248llvm/test/CodeGen/X86/urem-vector-lkk.ll
+285-101llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
+0-249clang/test/Analysis/ctu-main.cpp
+249-0clang/test/Analysis/ctu/main.cpp
+1,586-976587 files not shown
+11,614-6,741593 files

HardenedBSD/ports 86be9c1www/tinyauth Makefile distinfo, www/tinyauth/files pkg-message.in tinyauth.in

www/tinyauth: Update to 5.0.4

* Cache vendor stuff.
* Add GO_TARGET.
* Extract frontend and vendor in post-extract instead of pre-build.
* Improve pkg-message to deploy a quick demo.
* Add pkg-message about breaking-changes starting with version 5.0.0.
* Add tinyauth_chdir parameter in rc(8) script.
* Improve format of help options in rc(8) script.

ChangeLog:
https://github.com/steveiliop56/tinyauth/compare/v4.0.1...v5.0.4

Reported by:    ronald at klop.ws (email)
DeltaFile
+25-0www/tinyauth/files/pkg-message.in
+11-9www/tinyauth/Makefile
+10-6www/tinyauth/files/tinyauth.in
+7-7www/tinyauth/distinfo
+53-224 files

FreeBSD/ports 86be9c1www/tinyauth Makefile distinfo, www/tinyauth/files pkg-message.in tinyauth.in

www/tinyauth: Update to 5.0.4

* Cache vendor stuff.
* Add GO_TARGET.
* Extract frontend and vendor in post-extract instead of pre-build.
* Improve pkg-message to deploy a quick demo.
* Add pkg-message about breaking-changes starting with version 5.0.0.
* Add tinyauth_chdir parameter in rc(8) script.
* Improve format of help options in rc(8) script.

ChangeLog:
https://github.com/steveiliop56/tinyauth/compare/v4.0.1...v5.0.4

Reported by:    ronald at klop.ws (email)
DeltaFile
+25-0www/tinyauth/files/pkg-message.in
+11-9www/tinyauth/Makefile
+10-6www/tinyauth/files/tinyauth.in
+7-7www/tinyauth/distinfo
+53-224 files

LLVM/project 46c47efllvm/lib/Target/Hexagon HexagonLoadStoreWidening.cpp, llvm/test/CodeGen/Hexagon store-widen-subreg.mir

[Hexagon] Fix load/store widening to preserve subreg operands (#188181)

HexagonLoadStoreWidening pass was incorrectly using DoubleRegs registers
where IntRegs was required when widening load/store pairs. When the
S2_addasl_rrri instruction used a subreg (e.g., %2.isub_lo), the
widening pass extracted only the base register without preserving the
subreg, causing machine verifier errors.
DeltaFile
+34-0llvm/test/CodeGen/Hexagon/store-widen-subreg.mir
+14-2llvm/lib/Target/Hexagon/HexagonLoadStoreWidening.cpp
+48-22 files

LLVM/project f1889a7clang/lib/Lex PPDirectives.cpp, clang/test/ClangScanDeps p1689-suppress-warnings-no-eol.cppm

[ClangScanDeps] Avoid use-of-uninitialized-memory for end-of-directive edge case (#188590)

https://github.com/llvm/llvm-project/pull/186966 was reverted because
the test case triggered a use-of-uninitialized-memory
(https://lab.llvm.org/buildbot/#/builders/94/builds/16379), due to the
include directive omitting a trailing newline. This patch adds a minor
fix to avoid the use-of-uninitialized-memory, and deliberately re-adds
the test case sans trailing newline for regression testing.

MSan report prior to this fix:
```
@@@BUILD_STEP sanitizer logs: stage2/msan_track_origins check@@@
==clang-scan-deps==616960==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x5555599c3300 in isAnnotation /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/include/clang/Lex/Token.h:131:38
    #1 0x5555599c3300 in setLength /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/include/clang/Lex/Token.h:152:13
    #2 0x5555599c3300 in clang::Lexer::FormTokenWithChars(clang::Token&, char const*, clang::tok::TokenKind) /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/include/clang/Lex/Lexer.h:644:12
    #3 0x5555599cf895 in clang::Lexer::LexEndOfFile(clang::Token&, char const*) /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Lex/Lexer.cpp:3166:5
    #4 0x555559bb229b in clang::Preprocessor::Lex(clang::Token&) /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Lex/Preprocessor.cpp:916:11
    #5 0x555559aa5365 in __invoke<void (clang::Preprocessor::*&)(clang::Token &), clang::Preprocessor *, clang::Token &> /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_install_msan_track_origins/include/c++/v1/__type_traits/invoke.h:90:27

    [5 lines not shown]
DeltaFile
+25-0clang/test/ClangScanDeps/p1689-suppress-warnings-no-eol.cppm
+3-0clang/lib/Lex/PPDirectives.cpp
+28-02 files

OpenBSD/src kcG3cg9sys/kern kern_pledge.c

   stat() and access() become "rpath", this is safe because pledge_namei no longer
   has a special case for these two system calls. With this change pledge "stdio"
   no longer lets user code reach namei().

   ok deraadt
VersionDeltaFile
1.356+3-3sys/kern/kern_pledge.c
+3-31 files

OpenBSD/src grvAyMXlib/libc/sys pledge.2

   incremental improvement documenting recent changes
   ok beck dgl
VersionDeltaFile
1.79+150-73lib/libc/sys/pledge.2
+150-731 files

OpenBSD/src YceW6pCregress/sys/kern/pledge Makefile

   Hook up __pledge_open regress.
VersionDeltaFile
1.10+2-1regress/sys/kern/pledge/Makefile
+2-11 files

OpenBSD/src 0nLCarIregress/sys/kern/pledge/open open.c Makefile

   Add __pledge_open regress.
VersionDeltaFile
1.1+60-0regress/sys/kern/pledge/open/open.c
1.1+51-0regress/sys/kern/pledge/open/Makefile
+111-02 files

LLVM/project 9c98207clang/docs ReleaseNotes.rst, clang/include/clang/Sema Sema.h

[clang][Modules] Reject export declarations in implementation partitions (#188698)

[module.interface]/1 says:

> An export-declaration shall [...] appear in the purview of
   a module interface unit.

But clang currently fails to enforce this rule in implementation
partitions.

Partially addresses #107602.
DeltaFile
+18-0clang/test/CXX/module/module.interface/p1.cpp
+4-3clang/include/clang/Sema/Sema.h
+3-0clang/docs/ReleaseNotes.rst
+25-33 files

LLVM/project 3ef59d8llvm/lib/Target/Hexagon HexagonFrameLowering.cpp, llvm/test/CodeGen/Hexagon aligna-prologue-expansion.mir

[Hexagon] Fix use-before-def of AP register in prologue CSR spills (#188504)

PS_aligna initializes the AP register (eg:callee-saved R16) with an
aligned value derived from FP. It was being placed before the 
CSR spills, causing the spill of R16 to save the AP value instead of the 
caller's original R16, breaking the callee-saved register contract and 
it must be defined before any AP-relative stack accesses. Fix by moving 
PS_aligna to after all CSR spills in insertCSRSpillsInBlock().

Fixes #184531
DeltaFile
+92-0llvm/test/CodeGen/Hexagon/aligna-prologue-expansion.mir
+30-12llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
+122-122 files

LLVM/project 18f6191clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+122-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+163-22 files

FreeBSD/ports b7c473asysutils/try-rs distinfo Makefile

sysutils/try-rs: Update to 1.7.0
DeltaFile
+3-3sysutils/try-rs/distinfo
+1-2sysutils/try-rs/Makefile
+4-52 files