LLVM/project f51159dllvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp SPIRVTypeInst.cpp, llvm/test/CodeGen/SPIRV/transcoding store-atomic.ll load-atomic.ll

[SPIRV] Lower load/store atomic to OpAtomicLoad/OpAtomicStore
DeltaFile
+96-7llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+19-26llvm/test/CodeGen/SPIRV/transcoding/store-atomic.ll
+19-25llvm/test/CodeGen/SPIRV/transcoding/load-atomic.ll
+41-0llvm/test/CodeGen/SPIRV/transcoding/atomic-load-store-unsupported.ll
+18-0llvm/lib/Target/SPIRV/SPIRVTypeInst.cpp
+4-4llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
+197-623 files not shown
+211-669 files

LLVM/project 0993b11clang/include/clang/AST ASTContext.h, clang/lib/AST ASTContext.cpp

[clang] Clear ASTContext::TUDecl in 'cleanup' for easier debugging (#191697)

While the ASTContext has more things inside, I think we should at least
clear the TUDecl so that when traversing the (dangling) AST would
immediately step on the null-dereference instead of chasing dangling
pointers and crash later.

I was bitten by this in #191058.

This commit should be NFC - assuming that people didn't traverse already
dangling ASTs.
DeltaFile
+2-0clang/include/clang/AST/ASTContext.h
+1-0clang/lib/AST/ASTContext.cpp
+3-02 files

FreeBSD/src a154d72sys/netinet sctp_structs.h

sctp(4): Fix a typo in a source code comment

- s/initited/initiated/

Obtained from:  NetBSD
MFC after:      3 days
DeltaFile
+1-1sys/netinet/sctp_structs.h
+1-11 files

pkgng/pkgng 65bb87asrc update.c, tests/frontend update.sh

update: show a warning when trying to update a non existent repository

Fixes: #2511
DeltaFile
+37-0tests/frontend/update.sh
+17-0src/update.c
+54-02 files

LLVM/project 03d3d6butils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Fixes 735b152 (#192673)

This fixes 735b15239c493fce6a5033776470892f30d7e00e.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+2-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+2-01 files

LLVM/project b077718bolt/include/bolt/Core MCPlus.h MCPlusBuilder.h

[BOLT] Support non-null MCInst operands in annotation handling (#192188)

The annotation sentinel in BOLT is a null MCInst operand appended after
all prime operands. However, some architectures (e.g. Hexagon) use
non-null MCInst operands as legitimate prime operands for duplex
sub-instructions. The existing code treated any MCInst operand as the
annotation sentinel, causing duplex sub-instructions to be
misidentified.
    
In getNumPrimeOperands(), only treat a null MCInst operand as the
sentinel. In getAnnotationInstOp(), skip non-null MCInst operands when
searching for the annotation sentinel.
DeltaFile
+9-2bolt/include/bolt/Core/MCPlus.h
+1-3bolt/include/bolt/Core/MCPlusBuilder.h
+10-52 files

LLVM/project 8ed0af8llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp SPIRVTypeInst.cpp, llvm/test/CodeGen/SPIRV/transcoding store-atomic.ll load-atomic.ll

[SPIRV] Lower load/store atomic to OpAtomicLoad/OpAtomicStore
DeltaFile
+75-7llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+19-26llvm/test/CodeGen/SPIRV/transcoding/store-atomic.ll
+19-25llvm/test/CodeGen/SPIRV/transcoding/load-atomic.ll
+41-0llvm/test/CodeGen/SPIRV/transcoding/atomic-load-store-unsupported.ll
+12-0llvm/lib/Target/SPIRV/SPIRVTypeInst.cpp
+4-4llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
+170-623 files not shown
+178-669 files

LLVM/project bf3cc17mlir/include/mlir/Dialect/Tosa/IR TargetEnv.h, mlir/lib/Dialect/Tosa/IR TargetEnv.cpp

[mlir][tosa] Add `draft` information to specification version (#192122)

The draft flag can be used by useful to indicate that a specification
version is not yet finalized, and may be subject to change. This is
particularly important for serialized formats that offer guarantees
around backwards compatibility. By exposing `draft` information in the
specification version in the target environment, we can allow consumers
to query this information.
DeltaFile
+22-22mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir
+22-5mlir/include/mlir/Dialect/Tosa/IR/TargetEnv.h
+3-2mlir/lib/Dialect/Tosa/IR/TargetEnv.cpp
+2-2mlir/test/Dialect/Tosa/tosa-validation-version-1p0-pro-fp-invalid.mlir
+1-1mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
+50-325 files

LLVM/project 735b152libc/src/strings strncasecmp.cpp strcasecmp.cpp, libc/test/src/string strcmp_test.cpp

[libc] Fix strcasecmp/strncasecmp signedness and add tests (#192632)

Fixed character signedness bug in strcasecmp and strncasecmp
implementations in src/strings/ where characters > 127 were not
correctly handled.

Added LIBC_CRASH_ON_NULLPTR checks to both functions.

Enhanced unit tests in test/src/strings/ to be comprehensive without
duplicating basic case insensitivity tests.

Updated assertions in strcasecmp_test, strncasecmp_test, and strcmp_test
to check for sign instead of exact value.
DeltaFile
+57-0libc/test/src/strings/strncasecmp_test.cpp
+47-0libc/test/src/strings/strcasecmp_test.cpp
+10-20libc/test/src/string/strcmp_test.cpp
+6-3libc/src/strings/strncasecmp.cpp
+6-3libc/src/strings/strcasecmp.cpp
+126-265 files

FreeBSD/ports 6d5f5e4filesystems/amazon-efs-utils distinfo Makefile.crates, filesystems/amazon-efs-utils/files patch-src_watchdog_____init____.py patch-src_efs__utils__common_proxy.py

filesystems/amazon-efs-utils: New port

Amazon EFS mount helper and watchdog utilities. Provides mount_efs(8) to mount
EFS filesystems over NFSv4.1, optionally via a local stunnel-like proxy
(efs-proxy) that terminates TLS 1.2 and handles IAM authentication using SigV4.
A watchdog daemon, started by mount_efs, monitors the proxy and restarts it if
it dies.

FreeBSD-specific adaptations:
- Binary installed as mount_efs, not mount.efs
- Uses /sbin/mount_nfs with nfsv4,minorversion=1,oneopenown,retrycnt=1
- Watchdog enumerates /var/run/efs state files cross-checked with
  "mount -t nfs" (FreeBSD has no /proc/mounts and mount(8)/nfsstat(8)
  do not expose the client TCP port)
- aarch64 build fix: the libc crate does not expose max_align_t for
  aarch64-unknown-freebsd; substitute align_of::<u128>() in s2n-tl

Sponsored by:   Netflix
DeltaFile
+889-0filesystems/amazon-efs-utils/distinfo
+443-0filesystems/amazon-efs-utils/Makefile.crates
+86-0filesystems/amazon-efs-utils/files/patch-src_watchdog_____init____.py
+84-0filesystems/amazon-efs-utils/Makefile
+48-0filesystems/amazon-efs-utils/files/patch-src_efs__utils__common_proxy.py
+41-0filesystems/amazon-efs-utils/files/patch-src_efs__utils__common_mount__options.py
+1,591-07 files not shown
+1,710-013 files

FreeNAS/freenas ec8596fsrc/middlewared/middlewared/plugins/apps __init__.py crud.py

Minor fixes
DeltaFile
+5-1src/middlewared/middlewared/plugins/apps/__init__.py
+4-2src/middlewared/middlewared/plugins/apps/crud.py
+1-1src/middlewared/middlewared/plugins/apps/custom_app_ops.py
+1-0src/middlewared/middlewared/plugins/apps/ix_volumes.py
+11-44 files

LLVM/project e3709e3clang/include/clang/Basic DiagnosticSemaKinds.td LangOptions.def, clang/include/clang/Options Options.td

[Clang] [C++26] Expansion Statements (Part 10)
DeltaFile
+69-0clang/test/SemaCXX/cxx2c-expansion-stmts-limit.cpp
+18-0clang/lib/Sema/SemaExpand.cpp
+9-0clang/test/SemaCXX/cxx2c-fexpansion-statements.cpp
+4-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+4-0clang/include/clang/Options/Options.td
+1-0clang/include/clang/Basic/LangOptions.def
+105-01 files not shown
+106-07 files

LLVM/project 9e351ebclang/include/clang/Sema Sema.h, clang/lib/Sema SemaExpand.cpp TreeTransform.h

[Clang] [C++26] Expansion Statements (Part 3)
DeltaFile
+170-0clang/lib/Sema/SemaExpand.cpp
+86-4clang/lib/Sema/TreeTransform.h
+40-40clang/test/Parser/cxx2c-expansion-statements.cpp
+37-1clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+26-3clang/lib/Sema/SemaTemplateInstantiate.cpp
+20-0clang/include/clang/Sema/Sema.h
+379-484 files not shown
+394-6510 files

LLVM/project 95dc9adclang/lib/AST ExprConstant.cpp, clang/lib/AST/ByteCode Compiler.cpp Compiler.h

[Clang] [C++26] Expansion Statements (Part 7)
DeltaFile
+1,472-0clang/test/SemaCXX/cxx2c-expansion-stmts.cpp
+42-0clang/lib/AST/ByteCode/Compiler.cpp
+40-0clang/lib/AST/ExprConstant.cpp
+2-1clang/lib/AST/ByteCode/Compiler.h
+3-0clang/lib/Sema/SemaDeclCXX.cpp
+1,559-15 files

LLVM/project 96d8e55clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaExpand.cpp TreeTransform.h

[Clang] [C++26] Expansion Statements (Part 6)
DeltaFile
+105-6clang/lib/Sema/SemaExpand.cpp
+23-3clang/lib/Sema/TreeTransform.h
+2-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+130-93 files

LLVM/project 327d974clang/include/clang/AST StmtCXX.h DeclTemplate.h, clang/lib/AST StmtCXX.cpp ASTImporter.cpp

[Clang] [C++26] Expansion Statements (Part 1)
DeltaFile
+576-0clang/include/clang/AST/StmtCXX.h
+157-0clang/lib/AST/StmtCXX.cpp
+125-0clang/include/clang/AST/DeclTemplate.h
+120-0clang/lib/AST/ASTImporter.cpp
+47-0clang/lib/Serialization/ASTReaderStmt.cpp
+44-0clang/include/clang/AST/ExprCXX.h
+1,069-041 files not shown
+1,435-2947 files

LLVM/project 5bedd6aclang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticCommonKinds.td

[Clang] [C++26] Expansion Statements (Part 11)
DeltaFile
+104-0clang/test/AST/ast-print-expansion-stmts.cpp
+49-0clang/test/AST/ast-dump-expansion-stmt.cpp
+0-4clang/include/clang/Basic/DiagnosticCommonKinds.td
+1-1clang/www/cxx_status.html
+1-0clang/docs/ReleaseNotes.rst
+155-55 files

LLVM/project e5221a3clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema ScopeInfo.h

[Clang] [C++26] Expansion Statements (Part 9)
DeltaFile
+135-0clang/test/SemaCXX/cxx2c-expansion-stmts-control-flow.cpp
+38-9clang/lib/Sema/SemaLookup.cpp
+28-2clang/lib/Sema/SemaStmt.cpp
+9-2clang/lib/Parse/ParseStmt.cpp
+6-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+5-1clang/include/clang/Sema/ScopeInfo.h
+221-141 files not shown
+223-157 files

LLVM/project 040e45eclang/include/clang/Parse Parser.h, clang/include/clang/Sema Sema.h

[Clang] [C++26] Expansion Statements (Part 2)
DeltaFile
+181-14clang/lib/Parse/ParseStmt.cpp
+76-0clang/lib/Sema/SemaExpand.cpp
+65-0clang/test/Parser/cxx2c-expansion-statements.cpp
+28-31clang/lib/Parse/ParseDecl.cpp
+37-3clang/include/clang/Parse/Parser.h
+32-1clang/include/clang/Sema/Sema.h
+419-498 files not shown
+484-6014 files

LLVM/project ffeb99aclang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema Sema.h

[Clang] [C++26] Expansion Statements (Part 5)
DeltaFile
+499-14clang/lib/Sema/SemaExpand.cpp
+71-0clang/lib/Sema/TreeTransform.h
+21-15clang/lib/Sema/SemaStmt.cpp
+12-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+12-0clang/include/clang/Sema/Sema.h
+615-295 files

LLVM/project 5c1550aclang/include/clang/Parse Parser.h, clang/include/clang/Sema Sema.h Scope.h

[Clang] [C++26] Expansion Statements (Part 4)
DeltaFile
+266-221clang/lib/Sema/SemaStmt.cpp
+2-83clang/include/clang/Parse/Parser.h
+11-44clang/lib/Parse/Parser.cpp
+48-3clang/include/clang/Sema/Sema.h
+40-1clang/include/clang/Sema/Scope.h
+20-17clang/lib/Parse/ParseStmt.cpp
+387-36915 files not shown
+538-45021 files

LLVM/project 93243e9clang/test/CodeGenCXX cxx2c-enumerating-expansion-statements.cpp cxx2c-iterating-expansion-stmt.cpp

[Clang] [C++26] Expansion Statements (Part 8)
DeltaFile
+1,518-0clang/test/CodeGenCXX/cxx2c-enumerating-expansion-statements.cpp
+548-0clang/test/CodeGenCXX/cxx2c-iterating-expansion-stmt.cpp
+493-0clang/test/CodeGenCXX/cxx2c-destructuring-expansion-stmt.cpp
+430-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-control-flow.cpp
+208-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-templates.cpp
+134-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-mangling.cpp
+3,331-03 files not shown
+3,372-39 files

LLVM/project 842f23fllvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[AArch64][llvm] Some instructions should be `HINT` aliases (NFC)

Implement the following instructions as a `HINT` alias instead of a
dedicated instruction in separate classes:
  * `stshh`
  * `stcph`
  * `shuh`
  * `tsb`

Updated all their helper methods too, and updated the `stshh` pseudo
expansion for the intrinsic to emit `HINT #0x30 | policy`.

Code in AArch64AsmPrinter::emitInstruction identified an initial BTI using a
broad bitmask on the HINT immediate, which also matched shuh/stcph (50..52)
This could move the patchable entry label after a non-BTI instruction.
Replaced it with an exact BTI check using the BTI HINT range (32..63) and
AArch64BTIHint::lookupBTIByEncoding(Imm ^ 32).

A following change will remove duplicated code and simplify.

    [2 lines not shown]
DeltaFile
+115-0llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+41-39llvm/lib/Target/AArch64/AArch64InstrFormats.td
+22-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+5-14llvm/lib/Target/AArch64/AArch64InstrInfo.td
+5-10llvm/lib/Target/AArch64/AArch64SystemOperands.td
+4-2llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+192-682 files not shown
+199-698 files

FreeNAS/freenas 07d4222src/middlewared/middlewared event.py, src/middlewared/middlewared/plugins/apps logs.py

Annotate eventsource methods
DeltaFile
+8-8src/middlewared/middlewared/event.py
+1-1src/middlewared/middlewared/plugins/apps/logs.py
+9-92 files

FreeNAS/freenas 6f06629src/middlewared/middlewared/plugins/apps crud.py __init__.py, src/middlewared/middlewared/service crud_service.py base.py

Fix serialization of app.query
DeltaFile
+3-2src/middlewared/middlewared/plugins/apps/crud.py
+2-2src/middlewared/middlewared/plugins/apps/__init__.py
+1-1src/middlewared/middlewared/service/crud_service.py
+2-0src/middlewared/middlewared/service/base.py
+8-54 files

FreeNAS/freenas 4182a12src/middlewared/middlewared/plugins/apps fs_attachments.py port_attachments.py, src/middlewared/middlewared/plugins/catalog apps_details.py

Initial pass at covering app.* internal usages
DeltaFile
+10-11src/middlewared/middlewared/plugins/apps/fs_attachments.py
+6-6src/middlewared/middlewared/plugins/pool_/dataset_details.py
+6-6src/middlewared/middlewared/plugins/apps/port_attachments.py
+4-4src/middlewared/middlewared/plugins/docker/config.py
+4-4src/middlewared/middlewared/plugins/apps/cert_attachments.py
+3-3src/middlewared/middlewared/plugins/catalog/apps_details.py
+33-348 files not shown
+46-4814 files

FreeNAS/freenas e7611e1src/middlewared/middlewared/plugins/apps __init__.py, src/middlewared/middlewared/pytest/unit/api/base test_decorator.py

Allow filterable api method to pass check annotations
DeltaFile
+14-0src/middlewared/middlewared/pytest/unit/api/base/test_decorator.py
+7-3src/middlewared/middlewared/plugins/apps/__init__.py
+9-0src/middlewared/middlewared/pytest/unit/api/handler/accept/test_accept_1.py
+2-0src/middlewared/middlewared/service/decorators.py
+32-34 files

FreeNAS/freenas 053341dsrc/middlewared/middlewared/plugins/apps schema_action_context.py schema_normalization.py

Convert app.schema.actions to be typesafe
DeltaFile
+35-39src/middlewared/middlewared/plugins/apps/schema_action_context.py
+5-1src/middlewared/middlewared/plugins/apps/schema_normalization.py
+40-402 files

FreeNAS/freenas dd7152dsrc/middlewared/middlewared/plugins/apps events.py __init__.py

Convert events to be typesafe
DeltaFile
+11-38src/middlewared/middlewared/plugins/apps/events.py
+29-1src/middlewared/middlewared/plugins/apps/__init__.py
+40-392 files

FreeNAS/freenas b9b4f77src/middlewared/middlewared/api/v27_0_0 app.py, src/middlewared/middlewared/plugins/apps upgrade_old.py upgrade.py

Convert upgrade_summary to typesafe
DeltaFile
+0-64src/middlewared/middlewared/plugins/apps/upgrade_old.py
+36-1src/middlewared/middlewared/plugins/apps/upgrade.py
+10-9src/middlewared/middlewared/plugins/apps/utils.py
+9-1src/middlewared/middlewared/plugins/apps/__init__.py
+7-3src/middlewared/middlewared/api/v27_0_0/app.py
+62-785 files