LLVM/project 7b56bc8clang-tools-extra/docs/clang-tidy index.rst

[clang-tidy][docs] Update documentation to current --help (#180575)

I noticed the documentation is missing this doc fix:
https://github.com/llvm/llvm-project/commit/455105f1c67ccb625a1dccbf55cc2266bf9eaba2

I reran `clang-tidy --help` on current main.
DeltaFile
+22-12clang-tools-extra/docs/clang-tidy/index.rst
+22-121 files

LLVM/project ac85248llvm/lib/Target/X86 X86WinEHState.cpp X86PassRegistry.def, llvm/test/CodeGen/WinEH wineh-statenumbering-cleanups.ll

[NewPM] Port x86-winehstate (#180687)

x86-winehstate has been converted to a module pass for NewPM since it
uses data from the Module by overriding `doInitialization` and
`doFinalization`.
DeltaFile
+76-38llvm/lib/Target/X86/X86WinEHState.cpp
+6-6llvm/lib/Target/X86/X86PassRegistry.def
+9-2llvm/lib/Target/X86/X86.h
+2-2llvm/lib/Target/X86/X86TargetMachine.cpp
+2-1llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+2-0llvm/test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll
+97-495 files not shown
+102-4911 files

LLVM/project 16bfc02llvm/test/CodeGen/AMDGPU vector-reduce-add.ll llvm.amdgcn.readfirstlane.ll

[AMDGPU] [GlobalIsel] Enabling lit tests for new regbank select (#180680)

This patch will enable few more lit tests that depends on G_FRAME_INDEX
opcode.
DeltaFile
+550-278llvm/test/CodeGen/AMDGPU/vector-reduce-add.ll
+43-43llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
+5-5llvm/test/CodeGen/AMDGPU/flat-scratch-svs.ll
+598-3263 files

LLVM/project ae35e87clang/docs ReleaseNotes.rst

Release Note
DeltaFile
+2-0clang/docs/ReleaseNotes.rst
+2-01 files

LLVM/project 004a25fclang/include/clang/Basic AttrDocs.td, clang/test/CodeGen attr-no-outline.c attr-nooutline.c

Change spelling to clang::no_outline, more tests
DeltaFile
+107-0clang/test/CodeGen/attr-no-outline.c
+40-0clang/test/CodeGenObjC/attr-no-outline.m
+0-25clang/test/CodeGen/attr-nooutline.c
+0-18clang/include/clang/Basic/AttrDocs.td
+7-0clang/test/Sema/attr-no-outline.cpp
+0-7clang/test/Sema/attr-nooutline.cpp
+154-505 files not shown
+166-6211 files

LLVM/project abdec1bclang/include/clang/Basic CodeGenOptions.def, clang/include/clang/Options Options.td

[clang] Ensure -mno-outline adds attributes

Before this change, `-mno-outline` and `-moutline` only controlled the
pass pipelines for the invoked compiler/linker.

The drawback of this implementation is that, when using LTO, only the
flag provided to the linker invocation is honoured (and any files which
individually use `-mno-outline` will have that flag ignored).

This change serialises the `-mno-outline` flag into each function's
IR/Bitcode, so that we can correctly disable outlining from functions in
files which disabled outlining, without affecting outlining choices for
functions from other files. This matches how other optimisation flags
are handled so the IR/Bitcode can be correctly merged during LTO.
DeltaFile
+14-3clang/test/CodeGen/attr-no-outline.c
+7-10clang/include/clang/Options/Options.td
+6-5clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-1clang/lib/CodeGen/CodeGenModule.cpp
+3-0clang/include/clang/Basic/CodeGenOptions.def
+1-1clang/test/Driver/aarch64-outliner.c
+34-203 files not shown
+37-239 files

LLVM/project f87a9ebclang/docs ReleaseNotes.rst, clang/test/Sema attr-nooutline.c attr-nooutline.cpp

Address Review Feedback: Flags, Release Notes
DeltaFile
+3-3clang/docs/ReleaseNotes.rst
+1-1clang/test/Sema/attr-nooutline.c
+1-1clang/test/Sema/attr-nooutline.cpp
+5-53 files

LLVM/project be05211clang/docs ReleaseNotes.rst

Release Notes
DeltaFile
+3-0clang/docs/ReleaseNotes.rst
+3-01 files

LLVM/project 99894cdllvm/docs ReleaseNotes.md

Release Note
DeltaFile
+3-0llvm/docs/ReleaseNotes.md
+3-01 files

LLVM/project aea6a74clang/include/clang/Basic AttrDocs.td Attr.td, clang/test/CodeGen attr-nooutline.c

Address reviewer feedback: Tests, Docs, TableGen
DeltaFile
+30-0clang/include/clang/Basic/AttrDocs.td
+19-10clang/test/CodeGen/attr-nooutline.c
+2-2clang/include/clang/Basic/Attr.td
+51-123 files

LLVM/project d0e6493clang/include/clang/Basic Attr.td, clang/lib/CodeGen CodeGenModule.cpp

[clang] Add clang::nooutline Attribute

This change:
- Adds a `[[clang::nooutline]]` function attribute for C and C++. There
  is no equivalent GNU syntax for this attribute, so no `__attribute__`
  syntax.
- Uses the presence of `[[clang::nooutline]]` to add the `nooutline`
  attribute to IR function definitions.
- Adds test for the above.

The `nooutline` attribute disables both the Machine Outliner (enabled at
Oz for some targets), and the IR Outliner (disabled by default).
DeltaFile
+16-0clang/test/CodeGen/attr-nooutline.c
+7-0clang/test/Sema/attr-nooutline.c
+7-0clang/test/Sema/attr-nooutline.cpp
+7-0clang/include/clang/Basic/Attr.td
+3-0clang/lib/CodeGen/CodeGenModule.cpp
+1-0clang/test/Misc/pragma-attribute-supported-attributes-list.test
+41-06 files

LLVM/project deb91c7llvm/include/llvm/IR Attributes.td, llvm/lib/IR AutoUpgrade.cpp

[outliners] Turn nooutline into an Enum Attribute

This change turns the `"nooutline"` attribute into an enum attribute
called `nooutline`, and adds an auto-upgrader for bitcode to make the
same change to existing IR.

This IR attribute disables both the Machine Outliner (enabled at Oz for
some targets), and the IR Outliner (disabled by default).
DeltaFile
+12-0llvm/test/Bitcode/upgrade-nooutline.ll
+6-0llvm/lib/IR/AutoUpgrade.cpp
+4-0llvm/lib/Transforms/Utils/CodeExtractor.cpp
+2-2llvm/test/Transforms/IROutliner/nooutline-attribute.ll
+3-0llvm/include/llvm/IR/Attributes.td
+1-1llvm/lib/Transforms/IPO/IROutliner.cpp
+28-36 files not shown
+36-612 files

LLVM/project a17cf15clang/include/clang/Options Options.td

Undo typo
DeltaFile
+1-1clang/include/clang/Options/Options.td
+1-11 files

FreeBSD/src 5b39861bin/pwd pwd.c, bin/pwd/tests pwd_test.sh

pwd: Error out if writing to stdout failed

POSIX requires us to print a diagnostic and return a non-zero exit
code if writing to stdout failed.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55227
DeltaFile
+21-0bin/pwd/tests/pwd_test.sh
+2-0bin/pwd/pwd.c
+23-02 files

LLVM/project 5056543clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Add static_local attribute to GlobalOp and GetGlobalOp

This attribute marks function-local static variables that require
guarded initialization (e.g., C++ static local variables with
non-constant initializers). It is used by CIRGen to communicate
to LoweringPrepare which globals need guard variable emission.
DeltaFile
+33-0clang/test/CIR/IR/invalid-static-local.cir
+19-0clang/test/CIR/IR/static-local.cir
+15-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+4-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+71-14 files

LLVM/project 50746f2flang/lib/Lower HlfirIntrinsics.cpp, flang/test/Lower/HLFIR elemental-result-length-len-folding.f90 assumed-rank-inquiries.f90

[flang] Don't do actual concatenation when computing LEN() of concatenated strings (#180676)

For cases like the following don't actually compute concatenation of
`str // "abc"`, because we only need final length:
```
  character(len=*), intent(in) :: str
  character(len=len(str // "abc")) :: res
```
For such cases, don't emit hlfir.concat.

Fixes #157763
DeltaFile
+54-0flang/test/Lower/HLFIR/elemental-result-length-len-folding.f90
+24-0flang/lib/Lower/HlfirIntrinsics.cpp
+1-1flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
+79-13 files

LLVM/project dd24729clang/include/clang/CIR/Interfaces ASTAttrInterfaces.td ASTAttrInterfaces.h, clang/lib/CIR/Interfaces ASTAttrInterfaces.cpp CMakeLists.txt

[CIR] Add ASTVarDeclInterface for AST attribute access

Add the ASTVarDeclInterface which provides methods to access clang AST
VarDecl information from CIR attributes. This interface enables:
- mangleStaticGuardVariable: Mangle guard variable names using clang's
  MangleContext
- isLocalVarDecl: Check if a variable is function-local
- getTLSKind: Get thread-local storage kind
- isInline: Check if the variable is inline
- getTemplateSpecializationKind: Get template specialization info
- getVarDecl: Direct access to the underlying VarDecl pointer

This infrastructure is needed for proper handling of static local
variables with guard variables in LoweringPrepare.
DeltaFile
+51-0clang/include/clang/CIR/Interfaces/ASTAttrInterfaces.td
+22-0clang/include/clang/CIR/Interfaces/ASTAttrInterfaces.h
+21-0clang/lib/CIR/Interfaces/ASTAttrInterfaces.cpp
+9-0clang/include/clang/CIR/Interfaces/CMakeLists.txt
+2-0clang/lib/CIR/Interfaces/CMakeLists.txt
+105-05 files

LLVM/project 1094775llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 avx512bwvl-arith.ll

[X86] Fix lower1BitShuffle blend-with-zero shuffles to AND mask (#180472)

### Summary
This PR resolves https://github.com/llvm/llvm-project/issues/180426.
DeltaFile
+14-0llvm/test/CodeGen/X86/avx512bwvl-arith.ll
+11-3llvm/lib/Target/X86/X86ISelLowering.cpp
+25-32 files

Linux/linux 2619c62arch/x86/include/asm irq_remapping.h, arch/x86/kernel irq.c

Merge tag 'x86-irq-2026-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 irq updates from Thomas Gleixner:
 "Trivial cleanups for the posted MSI interrupt handling"

* tag 'x86-irq-2026-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/irq_remapping: Sanitize posted_msi_supported()
  x86/irq: Cleanup posted MSI code
DeltaFile
+13-18arch/x86/kernel/irq.c
+3-2arch/x86/include/asm/irq_remapping.h
+2-2drivers/iommu/intel/irq_remapping.c
+18-223 files

OpenBSD/ports SAktMTYfonts Makefile

   +msaptosfonts, +msfluentfonts
VersionDeltaFile
1.99+2-0fonts/Makefile
+2-01 files

OpenBSD/ports 4Wq4Qrvfonts/msfluentfonts Makefile distinfo, fonts/msfluentfonts/pkg PLIST DESCR

   Initial revision
VersionDeltaFile
1.1+32-0fonts/msfluentfonts/Makefile
1.1+12-0fonts/msfluentfonts/pkg/PLIST
1.1+3-0fonts/msfluentfonts/pkg/DESCR
1.1+2-0fonts/msfluentfonts/distinfo
1.1.1.1+0-0fonts/msfluentfonts/pkg/DESCR
1.1.1.1+0-0fonts/msfluentfonts/distinfo
+49-02 files not shown
+49-08 files

OpenBSD/ports Uz6iPJAfonts/msaptosfonts Makefile distinfo, fonts/msaptosfonts/pkg PLIST DESCR

   Initial revision
VersionDeltaFile
1.1+32-0fonts/msaptosfonts/Makefile
1.1+32-0fonts/msaptosfonts/pkg/PLIST
1.1+2-0fonts/msaptosfonts/distinfo
1.1+2-0fonts/msaptosfonts/pkg/DESCR
1.1.1.1+0-0fonts/msaptosfonts/pkg/PLIST
1.1.1.1+0-0fonts/msaptosfonts/Makefile
+68-02 files not shown
+68-08 files

NetBSD/pkgsrc KbLgpceemulators/compat_netbsd Makefile.common

   compat_netbsd: drop duplicated comments
VersionDeltaFile
1.18+1-11emulators/compat_netbsd/Makefile.common
+1-111 files

LLVM/project f932646llvm/lib/Transforms/Utils Local.cpp, llvm/test/Transforms/SimplifyCFG branch-weight-overflow.ll

[SimplifyCFG][PGO] Add missing overflow check to ConstantFoldTerminator (#178964)

Branch weight metadata can overflow when folding large branch weights.
Updated branch weights to uint64_t, added check for overflow, and then
set branch weights using setFittedBranchWeights to ensure branch weight
metadata is not lost.
DeltaFile
+51-0llvm/test/Transforms/SimplifyCFG/branch-weight-overflow.ll
+8-4llvm/lib/Transforms/Utils/Local.cpp
+59-42 files

OpenBSD/src gpHifB6sys/net pf_ioctl.c

   pfr_attach_table() needs wait flag.

   Calling pool_get() without wait flag is not allowed.  pf(4) ioctl
   has to use PR_WAITOK in pf_sourcelim_add().

   Reported-by: syzbot+45ec6dfe5d4c3a0dd374 at syzkaller.appspotmail.com
   OK dlg@
VersionDeltaFile
1.429+2-2sys/net/pf_ioctl.c
+2-21 files

LLVM/project 690aa65mlir/lib/Dialect/Shape/IR Shape.cpp, mlir/test/Dialect/Shape canonicalize.mlir

[mlir][shape] Fix crash in ShapeOfOpToConstShapeOp (#180737)

This PR fixes a crash when `shape.shape_of` op has static arg and shape
result type. Fixes #180719.
DeltaFile
+10-4mlir/lib/Dialect/Shape/IR/Shape.cpp
+10-0mlir/test/Dialect/Shape/canonicalize.mlir
+20-42 files

LLVM/project 0aa4a01mlir/lib/Dialect/SparseTensor/IR SparseTensorDialect.cpp, mlir/test/Dialect/SparseTensor invalid.mlir

[mlir][sparse] Fix a crash if block not have terminator (#180741)

This PR fixes a crash in `verifyNumBlockArgs` if region not end with a
terminator. Fixes #180720.
DeltaFile
+14-0mlir/test/Dialect/SparseTensor/invalid.mlir
+6-1mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
+20-12 files

OpenBSD/ports cWvUxxnemulators/openmsx Makefile, emulators/openmsx/patches patch-build_libraries_py

   Allow building with any MODTCL_VERSION.


   ok sthen@
VersionDeltaFile
1.3+14-13emulators/openmsx/patches/patch-build_libraries_py
1.41+3-1emulators/openmsx/Makefile
+17-142 files

Linux/linux f1c538cinclude/linux getcpu.h, include/vdso unaligned.h

Merge tag 'timers-vdso-2026-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull VDSO updates from Thomas Gleixner:

 - Provide the missing 64-bit variant of clock_getres()

   This allows the extension of CONFIG_COMPAT_32BIT_TIME to the vDSO and
   finally the removal of 32-bit time types from the kernel and UAPI.

 - Remove the useless and broken getcpu_cache from the VDSO

   The intention was to provide a trivial way to retrieve the CPU number
   from the VDSO, but as the VDSO data is per process there is no way to
   make it work.

 - Switch get/put_unaligned() from packed struct to memcpy()

   The packed struct violates strict aliasing rules which requires to
   pass -fno-strict-aliasing to the compiler. As this are scalar values

    [42 lines not shown]
DeltaFile
+53-2tools/testing/selftests/vDSO/vdso_test_abi.c
+35-6include/vdso/unaligned.h
+35-6tools/include/vdso/unaligned.h
+22-0tools/include/linux/compiler_types.h
+0-19include/linux/getcpu.h
+19-0scripts/checker-valid.sh
+164-3330 files not shown
+268-7636 files

HardenedBSD/ports f5a004bdevel/lua-language-server Makefile, devel/prjpeppercorn111 Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+21-158sysutils/vagrant/pkg-plist
+32-21devel/lua-language-server/Makefile
+0-51net/py-urllib31/Makefile
+0-49devel/py-lxml5/files/patch-cython
+20-19sysutils/vagrant/Makefile
+32-0devel/prjpeppercorn111/Makefile
+105-298160 files not shown
+433-1,329166 files