LLVM/project cf2d599clang/test/Driver/print-enabled-extensions riscv-xt-c920v2.c riscv-xt-c910v2.c, llvm/lib/Target/RISCV RISCVFeatures.td

[RISCV] Make Zbc imply Zbkc. (#185543)

Zbkc contains 2 of the 3 instructions from Zbc. Making Zbc imply Zbkc
will make the __riscv_zbkc define be set when Zbc is enabled.

This does not change the diagnostics printed by the assembler.

There's a PR to add this rule to the ISA manual too
https://github.com/riscv/riscv-isa-manual/pull/2524
DeltaFile
+8-7llvm/lib/Target/RISCV/RISCVFeatures.td
+2-2llvm/test/CodeGen/RISCV/attributes.ll
+2-1clang/test/Driver/print-enabled-extensions/riscv-xt-c920v2.c
+2-1clang/test/Driver/print-enabled-extensions/riscv-xt-c910v2.c
+1-1llvm/test/MC/RISCV/attribute-arch.s
+15-125 files

LLVM/project 4178b95llvm/lib/Transforms/IPO SampleProfileMatcher.cpp, llvm/test/Transforms/SampleProfile pseudo-probe-stale-profile-flatten-helper.ll

[SampleProfileMatcher] Flatten profiles loaded on demand (#184255)

Fix an issue that after loading top-level function from profile during
CG matching, it's not flattened. This means the inlined callees of the
loaded nested profile don't get their own entries in
`FlattenedProfiles`, making them undiscoverable by subsequent CG
matching steps.
DeltaFile
+98-0llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-flatten-helper.ll
+13-2llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp
+10-0llvm/test/Transforms/SampleProfile/Inputs/pseudo-probe-stale-profile-flatten-helper.prof
+121-23 files

LLVM/project f401a76llvm/include/llvm/Transforms/IPO SampleProfileMatcher.h, llvm/lib/Transforms/IPO SampleProfileMatcher.cpp

[SampleProfileMatcher] Add direct basename early matching for orphan functions (#184409)

When user code changes function signatures (e.g., adding/removing
parameters), the C++ mangled name changes while the base function name
stays the same. The existing stale profile CG matching can only recover
renamed functions when they appear as callees of already-matched
callers. If the caller has no profile (e.g., fully inlined in the
profiled binary, or from a different TU not loaded), the renamed callee
is never discovered and gets zero profile data.

Add `matchFunctionsWithoutProfileByBasename()` that pairs orphan IR
functions (no profile) with unused top-level profile functions by
demangled basename, without requiring a matched caller in the call
graph.

This direct basename matching runs before CG matching and writes to
`FuncToProfileNameMap`. CG matching can later overwrite these entries
(since `SymbolMap` is not updated until `UpdateWithSalvagedProfiles`),
so a contextually better CG match is not blocked.

    [5 lines not shown]
DeltaFile
+124-20llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp
+55-0llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-direct-basename.ll
+3-0llvm/test/Transforms/SampleProfile/Inputs/pseudo-probe-stale-profile-direct-basename.prof
+3-0llvm/include/llvm/Transforms/IPO/SampleProfileMatcher.h
+185-204 files

FreeBSD/ports b8556d8devel/R-cran-later distinfo Makefile

devel/R-cran-later: Update to 1.4.8

Changelog: https://cran.r-project.org/web/packages/later/news/news.html
DeltaFile
+3-3devel/R-cran-later/distinfo
+1-1devel/R-cran-later/Makefile
+4-42 files

LLVM/project 3ef7c27clang/lib/CodeGen CodeGenFunction.cpp, clang/lib/CodeGen/Targets PPC.cpp

clang-formt
DeltaFile
+6-6clang/lib/CodeGen/CodeGenFunction.cpp
+1-1clang/lib/CodeGen/Targets/PPC.cpp
+1-1clang/lib/Sema/SemaPPC.cpp
+8-83 files

LLVM/project 41ef3d0llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/lib/Target/X86 X86FastISel.cpp

[FastISel] Lower call instruction with illegal type returned (#180322)

Fix issue https://github.com/llvm/llvm-project/issues/179100
When lowering the call instruction with illegal type returned, we should
bail out and transfer the lowering to DAG. Otherwise the return value is
not promoted to proper type, but DAG would assume it has been promoted.

---------

Co-authored-by: Yuanke Luo <ykluo at birentech.com>
DeltaFile
+55-0llvm/test/CodeGen/X86/bf16-fast-isel.ll
+26-0llvm/test/CodeGen/X86/pr179100.ll
+1-7llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+6-0llvm/lib/Target/X86/X86FastISel.cpp
+88-74 files

LLVM/project 0fe0be1clang/lib/CodeGen CodeGenModule.cpp

Handle case when an FMV function is declared, used, then defined by:
fixing getMangledNameImpl such that it does not need to special case for FMV declarations because GetOrCreateLLVMFunction already can return the non-mangled name of declared FMV functions
DeltaFile
+1-3clang/lib/CodeGen/CodeGenModule.cpp
+1-31 files

LLVM/project e6f3414clang/lib/CodeGen CodeGenFunction.cpp, clang/test/CodeGen attr-target-clones-ppc.c

test

test

test
DeltaFile
+116-0clang/test/CodeGen/attr-target-clones-ppc.c
+17-6clang/lib/CodeGen/CodeGenFunction.cpp
+133-62 files

LLVM/project 2501fcbclang/lib/AST ASTContext.cpp, clang/lib/Basic/Targets PPC.cpp

limit support to cpu-only versions, and implement getFMVPriority
DeltaFile
+16-16clang/lib/CodeGen/CodeGenFunction.cpp
+4-20clang/lib/CodeGen/Targets/PPC.cpp
+17-1clang/lib/Basic/Targets/PPC.cpp
+8-5clang/lib/AST/ASTContext.cpp
+7-6clang/lib/Sema/SemaPPC.cpp
+52-485 files

OpenBSD/src mNYf2HXusr.bin/ssh ssh-sk-client.c

   When execve() failure is indicated on the pipe, replicate the same
   error conditions as the previous access() check did
   ok djm
VersionDeltaFile
1.16+3-3usr.bin/ssh/ssh-sk-client.c
+3-31 files

OpenBSD/src qPmD6yWusr.bin/ssh ssh-agent.c

   unveil ssh-pkcs11-helper too; fixes breakage spotted by anton@

   If SK/P11/askpass is overridden by environment, only unveil the requested
   path and not both the requested one and the default.

   feedback/ok deraadt@
VersionDeltaFile
1.322+14-16usr.bin/ssh/ssh-agent.c
+14-161 files

LLVM/project 351d900llvm/lib/Target/RISCV RISCVFrameLowering.cpp, llvm/test/CodeGen/RISCV callee-saved-gprs.ll zilsd-spill.ll

[llvm][RISCV] Use zilsd for callee-saved register spill/restore on RV32 (#184794)

When the Zilsd extension is enabled on RV32, use SD_RV32/LD_RV32
instructions to spill and restore pairs of callee-saved GPRs instead of
saving 2 separate 32 bit data.
Note that we need to ensure stack slot to be aligned.
DeltaFile
+1,151-0llvm/test/CodeGen/RISCV/callee-saved-gprs.ll
+39-75llvm/test/CodeGen/RISCV/zilsd-spill.ll
+39-75llvm/test/CodeGen/RISCV/zdinx-spill.ll
+94-13llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+6-10llvm/test/CodeGen/RISCV/fold-addi-loadstore-zilsd.ll
+2-4llvm/test/CodeGen/RISCV/double-mem.ll
+1,331-1776 files

LLVM/project a07ab1ellvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-sched-effective-stall.mir

[AMDGPU] Add structural stall heuristic to scheduling strategies

Implements a structural stall heuristic that considers both resource
hazards and latency constraints when selecting instructions. In coexec,
this changes the pending queue from a binary “not ready to issue”
distinction into part of a unified candidate comparison. Pending
instructions still identify structural stalls in the current cycle, but
they are now evaluated directly against available instructions by stall
cost, making the heuristics both more intuitive and more expressive.

- Add getStructuralStallCycles() to GCNSchedStrategy that computes the
number of cycles an instruction must wait due to:
  - Resource conflicts on unbuffered resources (from the SchedModel)
  - Sequence-dependent hazards (from GCNHazardRecognizer)

- Add getHazardWaitStates() to GCNHazardRecognizer that returns the number
of wait states until all hazards for an instruction are resolved,
providing cycle-accurate hazard information for scheduling heuristics.
DeltaFile
+38-3llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+35-0llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+7-2llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
+2-4llvm/test/CodeGen/AMDGPU/coexec-sched-effective-stall.mir
+6-0llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
+4-0llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+92-91 files not shown
+94-97 files

FreeBSD/ports 6cb8cccdeskutils/qownnotes distinfo Makefile

deskutils/qownnotes: update QOwnNotes to version 26.3.7

Fixes:  f40485c6b3d9
DeltaFile
+3-3deskutils/qownnotes/distinfo
+2-2deskutils/qownnotes/Makefile
+5-52 files

OpenBSD/src v16Jjvelib/libc/gen getpwent.c

   I optimized a bit too far before commiting...
VersionDeltaFile
1.72+10-5lib/libc/gen/getpwent.c
+10-51 files

LLVM/project 12de945llvm/include/llvm/Analysis TargetTransformInfo.h

[InferAS][NFC] Improve documentation for getAddrSpaceCastPreservedPtrMask (#185239)

Clarify the description of the preserved pointer bit mask and its
purpose in address space inference. Reformat the example for better
readability.

Co-authored-by: Yuanke Luo <ykluo at birentech.com>
DeltaFile
+13-7llvm/include/llvm/Analysis/TargetTransformInfo.h
+13-71 files

LLVM/project c400db3llvm/test/Analysis/DependenceAnalysis weak-zero-siv-overflow.ll

[DA] Fix test case for the Weak Zero SIV tests (NFC) (#185555)

The IR does not match the pseudo code. The pseudo code is intentional,
so update the IR accordingly.
DeltaFile
+1-1llvm/test/Analysis/DependenceAnalysis/weak-zero-siv-overflow.ll
+1-11 files

LLVM/project 9a89af9lldb/test/Shell/ScriptInterpreter/Python python-bytecode.test

[lldb] Update test diff invocation for portability (#185557)

Use --strip-trailing-cr to ignore line ending differences. Fixes
failures on windows.
DeltaFile
+1-1lldb/test/Shell/ScriptInterpreter/Python/python-bytecode.test
+1-11 files

OpenBSD/ports DOsolZInet/haproxy distinfo Makefile

   MFC: net/haproxy: update to 3.2.14

   Changes:
   https://www.haproxy.org/download/3.2/src/CHANGELOG

   from Mark Patruck mark AT wrapped cx, thanks!
VersionDeltaFile
1.87.2.4+2-2net/haproxy/distinfo
1.128.2.4+1-1net/haproxy/Makefile
+3-32 files

FreeBSD/ports fee3150www Makefile, www/py-a2wsgi Makefile pkg-descr

www/py-a2wsgi: New port

Convert WSGI app to ASGI app or ASGI app to WSGI app.

Pure Python. Only depend on the standard library.

Compared with other converters, the advantage is that a2wsgi
will not accumulate the requested content or response content
in the memory, so you don't have to worry about the memory
limit caused by a2wsgi. This problem exists in converters
implemented by uvicorn/startlette or hypercorn.
DeltaFile
+25-0www/py-a2wsgi/Makefile
+9-0www/py-a2wsgi/pkg-descr
+3-0www/py-a2wsgi/distinfo
+1-0www/Makefile
+38-04 files

OpenBSD/ports GWMbBpfnet/haproxy distinfo Makefile

   net/haproxy: update to 3.2.14

   Changes:
   https://www.haproxy.org/download/3.2/src/CHANGELOG

   from Mark Patruck mark AT wrapped cx, thanks!
VersionDeltaFile
1.92+2-2net/haproxy/distinfo
1.133+1-1net/haproxy/Makefile
+3-32 files

LLVM/project 5111b03llvm/lib/Target/RISCV RISCVISelLowering.cpp

Use std::swap

Created using spr 1.3.6-beta.1
DeltaFile
+8-15llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+8-151 files

LLVM/project 88bd3f4clang/lib/Basic DiagnosticIDs.cpp, clang/test/Misc diag-mapping.c

[clang] Adjust -pedantic-errors -WX/-Wno-error=X interaction (#184756)

While -Wno-long-long suppresses -pedantic-errors diagnostics in both GCC
and Clang, GCC -Wno-error=long-long emits warnings while Clang still
emits errors.

```
% echo 'long long x = 0;' | gcc -std=c89 -pedantic-errors -Wno-error=long-long -x c -fsyntax-only -
<stdin>:1:6: warning: ISO C90 does not support 'long long' [-Wlong-long]
% echo 'long long x = 0;' | clang -std=c89 -pedantic-errors -Wno-error=long-long -x c -fsyntax-only -
<stdin>:1:1: error: 'long long' is an extension when C99 mode is not enabled [-Werror,-Wlong-long]
    1 | long long x = 0;
      | ^
1 error generated.
```

The order of -pedantic-errors and -Wno-error=long-long does not matter.

Two fixes to how extension diagnostics interact with -pedantic-errors

    [20 lines not shown]
DeltaFile
+10-3clang/lib/Basic/DiagnosticIDs.cpp
+7-2clang/test/Misc/diag-mapping.c
+17-52 files

FreeBSD/ports a07f119www Makefile, www/py-baize Makefile pkg-descr

www/py-baize: New port

Powerful and exquisite WSGI/ASGI framework/toolkit. Only relies on the
standard library.

The minimize implementation of methods required in the Web framework.
No redundant implementation means that you can freely customize functions
without considering the conflict with baize's own implementation.
DeltaFile
+24-0www/py-baize/Makefile
+6-0www/py-baize/pkg-descr
+3-0www/py-baize/distinfo
+1-0www/Makefile
+34-04 files

LLVM/project c5ae919llvm/test/CodeGen/AArch64 clmul-fixed.ll, llvm/test/MC/AMDGPU gfx1170_asm_vop3_dpp16.s gfx1170_asm_vop3.s

Merge branch 'main' into users/ssahasra/const-ast-context
DeltaFile
+853-1,663llvm/test/CodeGen/AArch64/clmul-fixed.ll
+1,273-36llvm/test/MC/AMDGPU/gfx1170_asm_vop3_dpp16.s
+1,219-12llvm/test/MC/AMDGPU/gfx1170_asm_vop3.s
+1,081-0llvm/test/MC/AMDGPU/gfx1170_asm_vop3-fake16.s
+1,054-0llvm/test/MC/AMDGPU/gfx1170_asm_vop3_dpp16-fake16.s
+1,010-16llvm/test/MC/AMDGPU/gfx1170_asm_vop3_dpp8.s
+6,490-1,727683 files not shown
+26,899-7,422689 files

LLVM/project 24bf26cclang/test/CodeGenHLSL/groupsharedArgs TemplateTest.hlsl Overloads.hlsl, clang/test/SemaHLSL/Language/groupsharedArgs InOut.hlsl ExplicitCast.hlsl

[HLSL] Add support for groupshared args (#181886)

Add support for groupshared args to HLSL.
Some support for template errors and warnings still needs to be added in
a follow up (tracked by #182535)
Closes #174472
DeltaFile
+90-0clang/test/SemaHLSL/Language/groupsharedArgs/InOut.hlsl
+55-0clang/test/CodeGenHLSL/groupsharedArgs/TemplateTest.hlsl
+38-0clang/test/CodeGenHLSL/groupsharedArgs/Overloads.hlsl
+31-0clang/test/SemaHLSL/Language/groupsharedArgs/ExplicitCast.hlsl
+30-0clang/test/SemaHLSL/Language/groupsharedArgs/ScalarTest.hlsl
+28-0clang/test/SemaHLSL/Language/groupsharedArgs/Pre202xWarning.hlsl
+272-016 files not shown
+475-1522 files

LLVM/project 018acc6libunwind/src libunwind.cpp, libunwind/test cfi_violating_handler.pass.cpp

[libunwind][PAC] Defang ptrauth's PC in valid CFI range abort

It turns out making the CFI check a release mode abort causes many,
if not the majority, of JITs to fail during unwinding as they do not
set up CFI sections for their generated code. As a result any JITs
that do nominally support unwinding (and catching) through their JIT
or assembly frames trip this abort.

rdar://170862047
DeltaFile
+53-0libunwind/test/cfi_violating_handler.pass.cpp
+11-17libunwind/src/libunwind.cpp
+64-172 files

NetBSD/src zuFfF9Asys/arch/m68k/m68k linux_bootinfo.c

   Fix paste-o.
VersionDeltaFile
1.3+3-3sys/arch/m68k/m68k/linux_bootinfo.c
+3-31 files

LLVM/project 4e986efllvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis weak-zero-siv-delta-signed-min.ll

[DA] Fix the Weak Zero SIV tests when Delta is a signed minimum.
DeltaFile
+33-4llvm/lib/Analysis/DependenceAnalysis.cpp
+6-6llvm/test/Analysis/DependenceAnalysis/weak-zero-siv-delta-signed-min.ll
+39-102 files

NetBSD/src KhTUdTtsys/arch/m68k/m68k linux_bootinfo.c

   A bit of MMU handling cleanup:
   - BI_MMU_APOLLO does, in fact, mean the Apollo MMU for 68020 used on the
     DN3000 and DN4000 machines.
   - If we end up with an unknown MMU value, try to reconcile with machine
     type and CPU type.
VersionDeltaFile
1.2+35-4sys/arch/m68k/m68k/linux_bootinfo.c
+35-41 files