LLVM/project 6573dd3 — clang/lib/Sema SemaDecl.cpp SemaDeclAttr.cpp, clang/test/CodeGen pragma-weak.c

[Clang][Sema] Accept weak reference after declaration (#228809)

GCC accepts a weak reference even after there is a declaration. In here,
we use Check*Decl to do the required check and merge the NewDecl to
declaration chain.

Assisted-by: Claude # Tests ReleaseNote
Fixes: #56760
DeltaFile
+47-0clang/test/Sema/pragma-weak.c
+37-0clang/test/CodeGen/pragma-weak.c
+29-6clang/lib/Sema/SemaDeclAttr.cpp
+19-2clang/test/SemaCXX/pragma-weak.cpp
+13-0clang/lib/Sema/SemaDecl.cpp
+12-0clang/test/CodeGenCXX/pragma-weak.cpp
+157-82 files not shown
+166-88 files

FreeBSD/ports d663692 — misc/rubygem-mime-types-gitlab Makefile distinfo

misc/rubygem-mime-types-gitlab: update to 3.7.1

Changes:        https://github.com/mime-types/ruby-mime-types/blob/main/CHANGELOG.md
DeltaFile
+3-3misc/rubygem-mime-types-gitlab/distinfo
+1-1misc/rubygem-mime-types-gitlab/Makefile
+4-42 files

FreeBSD/ports c775901 — misc/rubygem-mime-types Makefile distinfo

misc/rubygem-mime-types: update to 3.7.1

Changes:        https://github.com/mime-types/ruby-mime-types/blob/main/CHANGELOG.md
DeltaFile
+3-3misc/rubygem-mime-types/distinfo
+1-1misc/rubygem-mime-types/Makefile
+4-42 files

LLVM/project b37a115 — llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/test/Transforms/InstCombine ldexp.ll

[InstCombine] Respect input denormal mode when folding ldexp (#247219)

InstCombine folds `ldexp(x, K)` into `fmul x, 2^K`. When `2^K` is
subnormal and the function's input denormal mode is not IEEE, the
multiply flushes the constant to zero so the result becomes zero instead
of the correctly scaled value.

We'd skip the fold in that case. The fold is unchanged under the default
IEEE mode and for normal scale factors.

Fixes #238186.
DeltaFile
+80-0llvm/test/Transforms/InstCombine/ldexp.ll
+4-2llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+84-22 files

FreeBSD/doc eaf9719 — documentation/static/pgpkeys bdrewery.key

pgpkeys: Update my keys
DeltaFile
+528-402documentation/static/pgpkeys/bdrewery.key
+528-4021 files

LLVM/project fa05da9 — clang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen enum-bool.c

[clang] Do not use atomicrmw for compound assignment to a bool enumeration (#245856)

Fixes #245854.

`EmitCompoundAssignLValue()` allows `atomicrmw` for integer-like types
that are
not `_Bool`, so an enumeration with a fixed bool underlying type is
updated as a
plain integer and never renormalized to the bool representation:

```c
_Atomic enum E : bool { F, T } b;
b += 2;   /* gives 0 at -O2, expected 1 (both are 1 at -O0) */
```

The IR is `atomicrmw add i8 2`, which leaves the object representation
as 2.
`b |= 2` is affected in the same way.


    [6 lines not shown]
DeltaFile
+5-0clang/test/CodeGen/enum-bool.c
+2-2clang/lib/CodeGen/CGExprScalar.cpp
+7-22 files

LLVM/project 087babd — llvm/lib/Target/AMDGPU MIMGInstructions.td

[AMDGPU] Factor common tensor pseudo flags into VIMAGE_TENSOR_Pseudo_Base, NFC (#247300)
DeltaFile
+10-7llvm/lib/Target/AMDGPU/MIMGInstructions.td
+10-71 files

LLVM/project 23807a4 — lld/ELF/Arch SPARCV9.cpp, lld/test/ELF sparcv9-plt.s

[lld][ELF][SPARC] Use the PLT for R_SPARC_WDISP30 calls (#246805)

Non-PIC code uses R_SPARC_WDISP30 for a call. It was handled as a plain
PC-relative reference, so a call to a function in a shared object got a
canonical PLT entry, a call to a protected function failed with "cannot
preempt symbol", and -shared rejected the call.

Handle R_SPARC_WDISP30 like R_SPARC_WPLT30. R_SPARC_WDISP30 is only used
by call, which never takes the function's address, so a non-canonical
PLT entry is enough.

This differs from GNU ld on purpose. GNU ld gives such functions
canonical PLT entries in an executable, and with -shared it emits
dynamic R_SPARC_WDISP30 relocations, which need DT_TEXTREL.

Assisted-by: Claude

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-0lld/test/ELF/sparcv9-plt.s
+2-2lld/ELF/Arch/SPARCV9.cpp
+10-22 files

LLVM/project db7fe40 — clang/lib/AST/ByteCode Compiler.h Compiler.cpp

[clang][bytecode] Split up registering locals (#247160)

Split it into allocating the local and registering it in the
`VariableScope`. In the future, we will need to know if evaluating the
initializer failed before registering the local.
DeltaFile
+52-29clang/lib/AST/ByteCode/Compiler.cpp
+6-0clang/lib/AST/ByteCode/Compiler.h
+58-292 files

LLVM/project 4d5b716 — flang/test/Driver offload-arch-tool.f90, flang/test/Driver/Inputs/nvptx-arch nvptx_arch_sm_70

use an Inputs/ file for the script
DeltaFile
+1-13flang/test/Driver/offload-arch-tool.f90
+3-0flang/test/Driver/Inputs/nvptx-arch/nvptx_arch_sm_70
+4-132 files

LLVM/project 21f6d0e — mlir/lib/Dialect/Vector/IR VectorOps.cpp, mlir/test/Dialect/Vector canonicalize.mlir

[mlir][vector] Do not fold contiguous gather/scatter on non-unit strides (#241601)

`FoldContiguousGather` and `FoldContiguousScatter` rewrite a
gather/scatter with indices `[0, 1, ...]` into
`vector.maskedload`/`vector.maskedstore` without checking the memref
layout. When the most minor memref dim has a non-unit stride, the result
fails verification.

This patch skips the fold unless `vector::isValidLoadStoreMemRefLayout`
(added in #241579) accepts the layout, so single-element gathers still
fold.

Fixes #240189

Assisted-by: Claude Opus 5.5
DeltaFile
+63-0mlir/test/Dialect/Vector/canonicalize.mlir
+12-2mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+75-22 files

HardenedBSD/src a0a8c3b — contrib/lutok/api-docs/html a00044.html a00065.html

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+0-1,693contrib/lutok/api-docs/html/a00923.html
+1,163-0contrib/lutok/api-docs/html/navtree.js
+0-532contrib/lutok/api-docs/html/a00895.html
+403-0contrib/lutok/api-docs/html/a00043.html
+0-395contrib/lutok/api-docs/html/a00065.html
+388-0contrib/lutok/api-docs/html/a00044.html
+1,954-2,620230 files not shown
+6,580-9,822236 files

HardenedBSD/src f96adba — contrib/lutok/api-docs/html a00044.html a00065.html

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+0-1,693contrib/lutok/api-docs/html/a00923.html
+1,163-0contrib/lutok/api-docs/html/navtree.js
+0-532contrib/lutok/api-docs/html/a00895.html
+403-0contrib/lutok/api-docs/html/a00043.html
+0-395contrib/lutok/api-docs/html/a00065.html
+388-0contrib/lutok/api-docs/html/a00044.html
+1,954-2,620230 files not shown
+6,580-9,822236 files

HardenedBSD/src 529519b — contrib/expat/gennmtab Makefile.in, contrib/expat/lib xmlparse.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+1,081-0contrib/expat/tests/fifth_edition_tests.c
+661-224contrib/expat/tests/basic_tests.c
+442-301contrib/expat/lib/xmlparse.c
+740-0contrib/expat/gennmtab/Makefile.in
+300-38contrib/expat/tests/misc_tests.c
+322-1contrib/expat/tests/xmltest.sh
+3,546-56453 files not shown
+5,594-1,17359 files

LLVM/project 2d64223 — llvm/test/CodeGen/AMDGPU srem.ll load-global-i8.ll, llvm/test/CodeGen/ARM constant-islands-convergence.mir

Merge remote-tracking branch 'llvm-src/main' into users/aokblast/clang/sema_accept_weak_after_decl
DeltaFile
+2,602-2,926llvm/test/CodeGen/X86/vector-compress.ll
+0-5,395llvm/test/CodeGen/AMDGPU/load-global-i8.ll
+0-5,274llvm/test/CodeGen/AMDGPU/srem.ll
+4,635-0llvm/test/CodeGen/ARM/constant-islands-convergence.mir
+4,302-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-max-min-umax-umin.ll
+1,356-2,712llvm/test/MC/RISCV/corev/XCVsimd-invalid.s
+12,895-16,3074,466 files not shown
+219,275-164,0484,472 files

LLVM/project ce85f8b — llvm/lib/Target/Mips/Disassembler MipsDisassembler.cpp, llvm/test/TableGen RegClassByHwMode.td

[nspr] initial commit
DeltaFile
+90-0llvm/test/TableGen/DecoderEmitter/regclass-by-hwmode.td
+31-16llvm/utils/TableGen/DecoderEmitter.cpp
+0-27llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
+2-5llvm/test/TableGen/RegClassByHwMode.td
+123-484 files

LLVM/project 44b8fe4 — llvm/lib/Target/RISCV/Disassembler RISCVDisassembler.cpp, llvm/test/TableGen/DecoderEmitter regclass-by-hwmode.td

[nspr] initial commit
DeltaFile
+77-0llvm/test/TableGen/DecoderEmitter/regclass-by-hwmode.td
+40-20llvm/utils/TableGen/DecoderEmitter.cpp
+0-11llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+117-313 files

LLVM/project db86638 — llvm/lib/Target/RISCV RISCVInstrInfoY.td, llvm/lib/Target/RISCV/Disassembler RISCVDisassembler.cpp

[nspr] update
DeltaFile
+6-7llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+7-4llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+13-112 files

OpenBSD/src 5BCrPuv — usr.bin/tmux layout.c

   Skip floating panes in layout_search_by_border, from Morten M Neergaard.
VersionDeltaFile
1.110+3-1usr.bin/tmux/layout.c
+3-11 files

LLVM/project 6fcce91 — llvm/lib/Target/Hexagon HexagonDepIICScalar.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll amdgcn.bitcast.1024bit.ll

Rebase onto origin/main

Created using spr 2.0.0-beta.2
DeltaFile
+91,987-94,489llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+26,556-27,657llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+15,800-13,586llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+220,089-135,73231,619 files not shown
+2,663,759-1,103,55831,625 files

OpenBSD/src lZWXTEi — usr.bin/tmux tmux.1

   Put focus-follow-mouse in the right place, GitHub issue 5944.
VersionDeltaFile
1.1209+7-7usr.bin/tmux/tmux.1
+7-71 files

LLVM/project c3b1603 — clang/lib/Sema SemaDeclAttr.cpp

fixup! [Clang][Smea] Accept weak reference after declaration
DeltaFile
+3-2clang/lib/Sema/SemaDeclAttr.cpp
+3-21 files

LLVM/project 7e44b79 — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP num_threads_num_teams_thread_limit_implicit_conversion.cpp

[Clang][OpenMP] Fix sema checks for thread_limit and num_teams list values
DeltaFile
+99-0clang/test/OpenMP/num_threads_num_teams_thread_limit_implicit_conversion.cpp
+12-15clang/lib/Sema/SemaOpenMP.cpp
+111-152 files

FreeBSD/ports e48d527 — textproc/miller Makefile distinfo

textproc/miller: Update to 6.23.1
DeltaFile
+5-5textproc/miller/distinfo
+1-2textproc/miller/Makefile
+6-72 files

HardenedBSD/ports e48d527 — textproc/miller Makefile distinfo

textproc/miller: Update to 6.23.1
DeltaFile
+5-5textproc/miller/distinfo
+1-2textproc/miller/Makefile
+6-72 files

LLVM/project e22bf29 — clang/lib/Parse ParsePragma.cpp

[clang] Explicitly discard the vectorize_width token consume result
DeltaFile
+1-1clang/lib/Parse/ParsePragma.cpp
+1-11 files

LLVM/project 81604f1 — clang/lib/Driver/ToolChains Clang.cpp

[NFC][Clang][Driver] Simplify return path slicing in addCompDirArg (#247431)

Since CC1Flag is now a parameter, assert that it ends with '=' and
offset by CC1Flag.size() instead of scanning for '='.

Follow-up to #247135.
DeltaFile
+2-2clang/lib/Driver/ToolChains/Clang.cpp
+2-21 files

LLVM/project fd5397f — llvm/lib/Target/Hexagon HexagonDepIICScalar.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll

Merge branch 'main' into users/aokblast/clang/sema_accept_weak_after_decl
DeltaFile
+19,530-19,493llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+15,508-13,586llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+146,924-33,07924,496 files not shown
+1,918,758-613,08824,502 files

FreeBSD/ports b3c829a — textproc/qo Makefile distinfo

textproc/qo: Update to 0.5.3
DeltaFile
+5-5textproc/qo/distinfo
+1-2textproc/qo/Makefile
+6-72 files

HardenedBSD/ports b3c829a — textproc/qo Makefile distinfo

textproc/qo: Update to 0.5.3
DeltaFile
+5-5textproc/qo/distinfo
+1-2textproc/qo/Makefile
+6-72 files