LLVM/project acc06aallvm/lib/Target/AArch64 AArch64ISelLowering.cpp

Add assert
DeltaFile
+4-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+4-21 files

LLVM/project 4538987polly/lib/Analysis ScopDetection.cpp

[Polly] Cast delinearization terms to matching types (#206711)

#204146 revealed that Polly can call `SCEVDivision::divide` with a
numerator and denominator of different types. I believe such divisions
are not meaningful and should be avoided. As far as I can tell, the root
cause is that `SCEVRemoveMax::rewrite` may collect terms whose types
differ from that of the original expression.

Before this patch, the terms gathered by `SCEVRemoveMax::rewrite` were
used for delinearization as they are. This patch applies
`getTruncateOrSignExtend` to them to matching their types with that of
the original expression.
DeltaFile
+3-1polly/lib/Analysis/ScopDetection.cpp
+3-11 files

LLVM/project 2a74b20clang/lib/Basic Attributes.cpp, clang/unittests/AST AttrTest.cpp

[Basic] Fix crash computing the spelling index of an unknown scoped attribute (#208909)

AttributeCommonInfo::getAttributeSpellingListIndex() aborts for an
unknown attribute that has a scope, such as [[ns::foo]]. It calls
calculateAttributeSpellingListIndex(), which runs name/scope
string-switches generated for the known attributes. Those switches
intentionally have no default: getScopeFromNormalizedScopeName() falls
off the end and hits llvm_unreachable ("Fell off the end of a
string-switch") for the unknown scope.

Any caller that asks a scoped unknown attribute for its spelling index
therefore crashes. An unrecognized attribute has no entry in those
tables and carries a single no-spelling, so short-circuit
calculateAttributeSpellingListIndex() for UnknownAttribute and return
index 0 before the switches run.

Add a unit test that constructs an unknown scoped AttributeCommonInfo
and asks for its spelling index; it aborts without the fix.
DeltaFile
+23-0clang/unittests/AST/AttrTest.cpp
+9-0clang/lib/Basic/Attributes.cpp
+32-02 files

LLVM/project ec98832llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

 Address more comments (const variables, std::optional PromVT)
DeltaFile
+12-12llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+12-121 files

FreeBSD/ports 936cfd0net-mgmt Makefile, net-mgmt/flow Makefile distinfo

net-mgmt/flow: New port: Minimalist terminal dashboard for real-time network throughput
DeltaFile
+19-0net-mgmt/flow/Makefile
+5-0net-mgmt/flow/distinfo
+4-0net-mgmt/flow/pkg-descr
+1-0net-mgmt/Makefile
+29-04 files

FreeBSD/ports 1f5217bdns Makefile, dns/dnsglobe distinfo Makefile

dns/dnsglobe: New port: Global DNS propagation checker for your terminal
DeltaFile
+589-0dns/dnsglobe/distinfo
+313-0dns/dnsglobe/Makefile
+7-0dns/dnsglobe/pkg-descr
+1-0dns/Makefile
+910-04 files

LLVM/project bd27a8dllvm/lib/Target/SystemZ SystemZAsmPrinter.cpp SystemZAsmPrinter.h, llvm/lib/Target/SystemZ/MCTargetDesc SystemZTargetStreamer.cpp SystemZTargetStreamer.h

[SystemZ][z/OS] Move emission of PPA1 (#208543)

There is an interesting restriction during emission: emitting debug
information closes the text section. As result, emitting the delayed
PPA1 data does not work in the current place together with emitting
debug information. Since the PPA1 information is constant data, the
solution is to emit the data in the target strreamer, in
`emitConstantPools()`.
DeltaFile
+26-261llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+260-0llvm/lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.cpp
+52-29llvm/lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.h
+1-30llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
+2-2llvm/test/CodeGen/SystemZ/zos-landingpad.ll
+341-3225 files

LLVM/project 3ee7683flang/lib/Optimizer/CodeGen CodeGen.cpp, flang/lib/Optimizer/Dialect FIROps.cpp

[Flang][Fir] Set default alignment to 64 on inlineAllocation for arrays (#208781)

In https://github.com/llvm/llvm-project/pull/206525 the runtime was set
to default alloctable and pointer arrays to 64byte alignment. In this commit
the inlineallocation case is handled.

The same approach was taken and an alignment attribute was added,
with logic to promote to aligned_alloc or posixMemalign for apple
targets, when requested alignment is greater than 16.

Of note alignof(std::max_align_t)) was not used as the runtime target
may be different than the compile target, so 16 was hardcoded as when to
use aligned_alloc

Assisted-by: Opus 4.8
DeltaFile
+127-0flang/lib/Optimizer/CodeGen/CodeGen.cpp
+33-0flang/test/Fir/alloc-aligned.fir
+14-0flang/test/Fir/alloc-aligned-omp.fir
+13-0flang/test/Fir/alloc-aligned-device.fir
+7-3flang/lib/Optimizer/Dialect/FIROps.cpp
+8-0flang/test/Fir/invalid.fir
+202-312 files not shown
+228-2018 files

LLVM/project d0ad2c6clang/lib/Frontend CompilerInvocation.cpp

[clang] Reuse driver option strings in CompilerInvocation (#202632)

CompilerInvocation emits a second copy of clang/Options/Options.inc with
OPTTABLE_STR_TABLE_CODE only to implement lookupStrInTable(). The driver
OptTable already owns the identical string table.

On an arm64 Release build, fully stripped standalone clang shrinks from
94,570,224 to 94,537,216 bytes, saving 33,008 bytes (0.035%).

Work towards #202616

AI tool disclosure: Co-authored with OpenAI Codex.
DeltaFile
+1-5clang/lib/Frontend/CompilerInvocation.cpp
+1-51 files

LLVM/project 45deeacllvm/docs LangRef.rst LangRef.md, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

Merge branch 'main' into users/kasuga-fj/polly-limit-delin-terms
DeltaFile
+24,053-23,916llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,109llvm/docs/LangRef.rst
+30,305-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+90,087-91,94610,125 files not shown
+614,611-429,34410,131 files

LLVM/project 3f12bb1clang/lib/Driver/ToolChains Hexagon.cpp, clang/test/Driver hexagon-toolchain-linux.c

[Hexagon] Add scs multilib for -fsanitize=shadow-call-stack (#208833)

musl hexagon targets already select msan/asan library variants based on
the sanitizer in use; do the same for shadow-call-stack so that
-fsanitize=shadow-call-stack picks up usr/lib/scs.
DeltaFile
+47-1clang/test/Driver/hexagon-toolchain-linux.c
+18-7clang/lib/Driver/ToolChains/Hexagon.cpp
+65-82 files

OpenBSD/src NbNZymRsys/kern sysv_sem.c

   sysv_sema: Use better sleep addresses

   the sema array itself is used to derive wait channels. It may be re-
   allocated when resized. The old array gets lost and so do the wait
   channels. Thus waiters will never be woken up again. The sema array
   holds pointers. Use those as wait channels instead, the backing objects
   live long enough.

   ok mvs@
VersionDeltaFile
1.71+7-7sys/kern/sysv_sem.c
+7-71 files

LLVM/project 8eb718ellvm/test/CodeGen/AMDGPU vector-reduce-fminimum.ll vector-reduce-fmaximum.ll, llvm/test/CodeGen/WebAssembly vector-reduce.ll

[ExpandReductions] Expand fmaximum/fminimum reductions (#195169)

fixes #195111
DeltaFile
+1,640-1,695llvm/test/CodeGen/AMDGPU/vector-reduce-fminimum.ll
+1,482-1,543llvm/test/CodeGen/AMDGPU/vector-reduce-fmaximum.ll
+826-703llvm/test/CodeGen/X86/vector-reduce-fminimum.ll
+825-702llvm/test/CodeGen/X86/vector-reduce-fmaximum.ll
+54-60llvm/test/CodeGen/WebAssembly/vector-reduce.ll
+30-0llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll
+4,857-4,7034 files not shown
+4,905-4,73010 files

LLVM/project 70a201allvm/lib/Target/AArch64 AArch64ISelLowering.cpp

Address comments
DeltaFile
+7-6llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+7-61 files

LLVM/project 5e98ee7mlir/lib/Dialect/OpenACC/Transforms ACCIfClauseLowering.cpp, mlir/test/Dialect/OpenACC acc-if-clause-lowering.mlir

[mlir][acc] Preserve shared data operations during if-clause lowering (#208771)

Example:
```fortran
!$acc kernels present(grid, c) if(offload_on)
do nc = 1, grid%rc%ncol
  c(1,nc) = 0
end do
c(1,1) = 0
!$acc end kernels
```

In this code, kernels restructuring can create compute constructs that
share data-entry operations with an enclosing data region. If-clause
lowering could rewrite or erase these shared operations, producing
invalid IR or duplicate erasure.

Fix: Preserve externally owned data operations, deduplicate cleanup, and
retain duplicate operand ordering while cloning local operations once.
DeltaFile
+74-27mlir/lib/Dialect/OpenACC/Transforms/ACCIfClauseLowering.cpp
+99-0mlir/test/Dialect/OpenACC/acc-if-clause-lowering.mlir
+173-272 files

LLVM/project ef72c2ellvm/include/llvm/CodeGen Rematerializer.h, llvm/lib/CodeGen Rematerializer.cpp

Replace union with existing `PointerUnion`
DeltaFile
+6-38llvm/include/llvm/CodeGen/Rematerializer.h
+11-9llvm/lib/CodeGen/Rematerializer.cpp
+17-472 files

FreeBSD/ports 00cbbb2security/krb5-devel distinfo Makefile

security/krb5-devel: update to the latest MIT/KRB5 github commit
DeltaFile
+3-3security/krb5-devel/distinfo
+2-3security/krb5-devel/Makefile
+5-62 files

FreeBSD/ports f8b6517sysutils/screen/files patch-window.c patch-src_attacher.c

sysutils/screen: Update to 5.0.2
DeltaFile
+0-148sysutils/screen/files/patch-window.c
+0-108sysutils/screen/files/patch-src_attacher.c
+0-23sysutils/screen/files/patch-window.h
+12-0sysutils/screen/files/patch-misc.h
+0-11sysutils/screen/files/patch-telnet.c
+0-11sysutils/screen/files/patch-telnet.h
+12-3013 files not shown
+17-3079 files

FreeBSD/ports 5d60492sysutils/screen-devel distinfo Makefile

sysutils/screen-devel: Update to the lastest commit on savanah
DeltaFile
+3-3sysutils/screen-devel/distinfo
+2-2sysutils/screen-devel/Makefile
+1-1sysutils/screen-devel/pkg-plist
+6-63 files

LLVM/project 3c8b4f9clang/docs ReleaseNotes.md

[analyzer][docs] CSA release notes for clang-23 (#207433)

The commits were gathered using:
```sh
git log --reverse --oneline llvmorg-23-init..llvm/main \
  clang/lib/StaticAnalyzer clang/include/clang/StaticAnalyzer | \
  grep -v NFC | grep -v OpenACC | grep -v -i revert | grep -v -i "webkit"
```

I used the `LLVM_ENABLE_SPHINX=ON` and `LLVM_ENABLE_DOXYGEN=ON` cmake
options to enable the `docs-clang-html` build target, which generates
the html into `build/tools/clang/docs/html/ReleaseNotes.html` of which I
attach the screenshots to let you judge if it looks all good or not.

I've swapped the PR links to the issue links when a PR was fixing an
open GitHub issue. Those issues anyway have a link to the PR inside.

Assisted-by: Claude Opus 4.8
DeltaFile
+63-18clang/docs/ReleaseNotes.md
+63-181 files

LLVM/project 0380132lldb/test/API/functionalities/statusline TestStatusline.py

[lldb][test] Fix TestStatusline path resolution in symlinked environments (#209083)

Fixes a test timeout in TestStatusline.py introduced in commit
a35565161078 (#208609) when running in environments with symlinked
source paths.
DeltaFile
+1-3lldb/test/API/functionalities/statusline/TestStatusline.py
+1-31 files

OpenBSD/src QJVOgWGusr.bin/tmux tmux.1 input.c

   Add pane-activity event.
VersionDeltaFile
1.1135+3-8usr.bin/tmux/tmux.1
1.268+5-1usr.bin/tmux/input.c
1.488+3-2usr.bin/tmux/server-client.c
1.235+2-1usr.bin/tmux/options-table.c
1.1400+2-1usr.bin/tmux/tmux.h
+15-135 files

LLVM/project 13dcad3clang/test/Driver amdgpu-openmp-gpu-max-threads-per-block.c

[clang][OpenMP][test] Use -fopenmp=libomp explicitly in clang driver test (#209082)

Explicitly pass -fopenmp=libomp in the test to make it robust against
downstream configurations where the default OpenMP runtime is set to
something else (e.g., libgomp). Seems this is in alignment with other
tests in `clang/test/Driver`.
DeltaFile
+1-1clang/test/Driver/amdgpu-openmp-gpu-max-threads-per-block.c
+1-11 files

LLVM/project 8e0ae49llvm/utils/lit/lit cl_arguments.py

Remove new line.
DeltaFile
+0-1llvm/utils/lit/lit/cl_arguments.py
+0-11 files

LLVM/project 6c63284clang/test/Analysis/z3 z3-logicalexpr-eval.c

[analyzer] Fix stale z3 analyzer-constraints name in test z3-logicalexpr-eval.c (#209185)

z3 was recently renamed to unsupported-z3.

Change the analyzer-constraints to unsupported-z3 in the test file
z3-logicalexpr-eval.c
DeltaFile
+1-1clang/test/Analysis/z3/z3-logicalexpr-eval.c
+1-11 files

LLVM/project ed47c35clang/test/SemaCXX amdgpu-barrier.cpp, clang/test/SemaHIP amdgpu-barrier.hip

Add test w/ static field
DeltaFile
+5-0clang/test/SemaCXX/amdgpu-barrier.cpp
+5-0clang/test/SemaHIP/amdgpu-barrier.hip
+10-02 files

LLVM/project 1de6f77clang/lib/AST Type.cpp TypePrinter.cpp, clang/lib/Basic/Targets SPIR.h

Address Comments
DeltaFile
+4-3clang/lib/AST/Type.cpp
+3-2clang/test/SemaOpenCL/amdgpu-barrier.cl
+1-4clang/lib/CodeGen/CodeGenModule.cpp
+2-2clang/lib/Basic/Targets/SPIR.h
+2-2clang/lib/AST/TypePrinter.cpp
+4-0clang/test/SemaCXX/amdgpu-barrier.cpp
+16-1311 files not shown
+29-2317 files

LLVM/project e33304cclang/include/clang/Basic DiagnosticSemaKinds.td Attr.td, clang/lib/Sema SemaAMDGPU.cpp SemaDeclCXX.cpp

Use C++ standard layout instead
DeltaFile
+60-38clang/lib/Sema/SemaAMDGPU.cpp
+38-10clang/test/SemaHIP/amdgpu-barrier.hip
+37-10clang/test/SemaCXX/amdgpu-barrier.cpp
+0-13clang/lib/Sema/SemaDeclCXX.cpp
+7-4clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-1clang/include/clang/Basic/Attr.td
+143-761 files not shown
+144-777 files

LLVM/project 64b76dcclang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaDecl.cpp

Revert earlier change
DeltaFile
+1-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-1clang/lib/Sema/SemaDecl.cpp
+2-22 files

LLVM/project bb668baclang/test/SemaCXX amdgpu-barrier.cpp, clang/test/SemaOpenCL amdgpu-barrier.cl

Add RUN lines to check Sema check works if AMDGCN is aux target
DeltaFile
+1-0clang/test/SemaCXX/amdgpu-barrier.cpp
+1-0clang/test/SemaOpenCL/amdgpu-barrier.cl
+2-02 files