LLVM/project 1e2b99d — clang/docs LanguageExtensions.md, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.md
+56-193 files not shown
+60-199 files

LLVM/project bdafc07 — clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

address comments
DeltaFile
+3-3clang/include/clang/Options/Options.td
+1-1clang/lib/Driver/ToolChains/Clang.cpp
+4-42 files

LLVM/project 77dedee — clang/lib/AST ASTContext.cpp, clang/lib/Lex TextEncoding.cpp

Convert the key before cache lookup to prevent encoding differences
DeltaFile
+9-9clang/lib/AST/ASTContext.cpp
+2-0clang/lib/Lex/TextEncoding.cpp
+11-92 files

LLVM/project b2358e3 — clang/lib/AST ScanfFormatString.cpp FormatString.cpp, clang/lib/Sema SemaStmtAsm.cpp

address comments
DeltaFile
+16-26clang/lib/AST/PrintfFormatString.cpp
+11-11clang/lib/AST/FormatString.cpp
+4-3clang/lib/AST/ScanfFormatString.cpp
+0-1clang/lib/Sema/SemaStmtAsm.cpp
+31-414 files

LLVM/project 1faa302 — clang/lib/AST FormatStringParsing.h FormatString.cpp, clang/lib/Sema SemaChecking.cpp

Add format string handling
DeltaFile
+74-60clang/lib/AST/PrintfFormatString.cpp
+29-32clang/lib/AST/ScanfFormatString.cpp
+31-25clang/lib/AST/FormatString.cpp
+19-8clang/lib/Sema/SemaChecking.cpp
+18-0clang/lib/AST/FormatStringParsing.h
+10-0llvm/include/llvm/Support/TextEncoding.h
+181-1251 files not shown
+182-1257 files

LLVM/project 6d8380e — clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+10-0clang/lib/AST/ASTContext.cpp
+3-1clang/test/CodeGen/systemz-charset.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+18-14 files

LLVM/project 9f5a866 — clang/lib/AST FormatStringParsing.h ScanfFormatString.cpp

remove changes in objc and apple's logging system
DeltaFile
+23-30clang/lib/AST/PrintfFormatString.cpp
+31-21clang/lib/AST/FormatString.cpp
+9-9clang/lib/AST/ScanfFormatString.cpp
+5-12clang/lib/AST/FormatStringParsing.h
+68-724 files

LLVM/project b154396 — clang/include/clang/AST FormatString.h, clang/lib/AST ScanfFormatString.cpp FormatStringParsing.h

Propagate TextEncodingConverter through format string parsing functions
DeltaFile
+23-19clang/lib/Sema/SemaChecking.cpp
+13-7clang/lib/AST/PrintfFormatString.cpp
+15-2clang/lib/AST/FormatStringParsing.h
+17-0llvm/lib/Support/TextEncoding.cpp
+7-6clang/include/clang/AST/FormatString.h
+7-4clang/lib/AST/ScanfFormatString.cpp
+82-385 files not shown
+96-4611 files

LLVM/project f8b6076 — clang/lib/AST ScanfFormatString.cpp PrintfFormatString.cpp, llvm/include/llvm/Support TextEncoding.h

address comments, remove createFormatStrConverter
DeltaFile
+2-13clang/lib/AST/FormatStringParsing.h
+7-5clang/lib/AST/PrintfFormatString.cpp
+3-3clang/lib/AST/ScanfFormatString.cpp
+1-1llvm/lib/Support/TextEncoding.cpp
+1-1llvm/include/llvm/Support/TextEncoding.h
+14-235 files

LLVM/project c3ff0ec — llvm/test/Transforms/SLPVectorizer/AArch64 sibling-loops-unknown-trip-counts.ll

[SLP][NFC]Add a test for missing vectorization of sibling loops, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/245619
DeltaFile
+1,185-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+1,185-01 files

LLVM/project a2d52a5 — clang/lib/CodeGen CGOpenMPRuntime.cpp CGStmtOpenMP.cpp, clang/test/OpenMP flush_memory_order_codegen.cpp

[OpenMP] Honour memory-order clauses on the flush directive (#241295)

At present the acquire, release and acq_rel clauses on 'flush' are
accepted but have no effect. Flushes are emitted as `__kmpc_flush`
runtime calls, which implement a seq_cst fence.

AMD have had a downstream patch for a while (by Carlo Bertolli) which
adds per-ordering `__kmpc_flush_*` entry points to the device runtime.
This patch takes a slightly different approach: for the host, a seq_cst
flush still calls `__kmpc_flush`, and a flush with any other ordering
calls the `__kmpc_flush_explicit` entry point from #133325, so it needs
a runtime that has that. For the GPU, it emits a fence directly.

This has mild benefits: OpenMPOpt already handles fences when it
converts kernels to SPMD mode, but has no knowledge of the new
`__kmpc_flush` calls (either _explicit or Carlo's per-ordering flush
calls). Scope names differ per-GPU: they are determined using the
mechanism introduced by #213810 ("[LLVM] Unify atomic scope handling
between LLVM and Clang").

    [19 lines not shown]
DeltaFile
+89-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+71-0clang/test/OpenMP/flush_memory_order_codegen.cpp
+34-12clang/lib/CodeGen/CGStmtOpenMP.cpp
+33-8llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+41-0openmp/runtime/test/flush/omp_flush_memory_order.c
+33-5clang/lib/CodeGen/CGOpenMPRuntime.cpp
+301-256 files not shown
+340-3412 files

LLVM/project 4b11187 — llvm/lib/Transforms/Vectorize VPlanTransforms.h LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/VPlan vplan-print-before-after-all.ll interleave-group-scalarization-decisions.ll

[VPlan] Create interleave groups before scalarization decisions. (#245585)

Move createInterleaveGroups to right after the memory widening
decisions,so makeScalarizationDecisions sees the group's single 
address use. Mostly no change yet, as the legacy cost model still
marks those addresses uniform.

Needed by https://github.com/llvm/llvm-project/pull/244728.

Follow-up to earlier
movehttps://github.com/llvm/llvm-project/pull/243789
DeltaFile
+93-0llvm/test/Transforms/LoopVectorize/VPlan/interleave-group-scalarization-decisions.ll
+6-7llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-2llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+1-1llvm/test/Transforms/LoopVectorize/VPlan/vplan-print-before-after-all.ll
+102-104 files

LLVM/project 0c577ac — llvm/lib/Target/SystemZ SystemZInstrVector.td, llvm/test/CodeGen/SystemZ vec-strict-conv-04.ll vec-conv-04.ll

[SystemZ] Select WCEFB/WCELFB/WCFEB/WCLFEB for vector-element conversions (#245369)

On z15, use the scalar-in-vector convert instructions when one side of
an i32<->f32 conversion already lives in a vector register:

* (s|u)itofp of an extracted <4 x i32> element -> WCEFB/WCELFB, using
VREPF first for elements 1-3.
* fptosi/fptoui whose i32 result goes into element 0 of a vector
(scalar_to_vector, insert into undef, or splat) -> WCFEB/WCLFEB.

This avoids the GPR round trip (vlgvf + cefbr, cfebr + vlvgf). GPR<->FPR
conversions and variable-index extracts are unchanged.

Also fix the dest/source operand types of VCFEB/VCLFEB/WCFEB/WCLFEB
(which were reversed) and VCEFB/VCELFB (v128g -> v128f).

Add vec-conv-04.ll and vec-strict-conv-04.ll, including negative and z14
checks.

Assisted by: IBM Bob
DeltaFile
+351-0llvm/test/CodeGen/SystemZ/vec-conv-04.ll
+348-0llvm/test/CodeGen/SystemZ/vec-strict-conv-04.ll
+38-6llvm/lib/Target/SystemZ/SystemZInstrVector.td
+737-63 files

LLVM/project f8e5c37 — llvm/lib/Target/SystemZ SystemZScheduleZEC12.td SystemZScheduleZ196.td

[SystemZ] Add missing CC def to TRANSLATE EXTENDED (TRE) (#245460)

TRE sets the condition code (0: operand processed, 1: test character
found, 3: CPU-determined amount processed), but its definition did not
list CC as an implicit def.

Adding the def raises TRE's write count from two to three, so update the
TRE scheduling entries for z196 through z17 to match (as for CU41/CU42).

Assisted by: IBM Bob
DeltaFile
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZEC12.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ196.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ17.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ16.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ15.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ14.td
+6-62 files not shown
+8-88 files

LLVM/project aed7bc6 — utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes e8ab13d (#245608)

This fixes e8ab13d945289f8bfcf1031f0d0abbb002dca5af (#245448).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=e8ab13d945289f8bfcf1031f0d0abbb002dca5af

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

LLVM/project 34a7516 — llvm/lib/Target/SystemZ SystemZISelLowering.cpp SystemZInstrVector.td, llvm/test/CodeGen/SystemZ vec-avg.ll

[SystemZ] Support ISD::AVGCEILS and ISD::AVGCEILU (#244786)

Mark ISD::AVGCEILS and ISD::AVGCEILU as legal for vector types on z13+
and for i128 on z17 (VectorEnhancements3). Match them to VAVG* and
VAVGL* instructions while preserving mappings for existing s390
intrinsics.

Assisted by: IBM Bob
DeltaFile
+207-0llvm/test/CodeGen/SystemZ/vec-avg.ll
+10-10llvm/lib/Target/SystemZ/SystemZInstrVector.td
+18-0llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+235-103 files

FreeBSD/src f19206c — sys/dev/acpica acpi_spmc.c

acpi_spmc: Make Intel device-specific state optional

The Intel Low Power S0 Idle _DSM specification marks the minimum
device-specific state of a constraint package as optional, and its own
example returns {0xFF, 0}.  Requiring three elements rejected such
constraints, with one boot message each.

Reviewed by:    olce
Approved by:    olce
Fixes:          508efe35e577 ("acpi_spmc: Check Intel constraint packages")
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/134
DeltaFile
+4-2sys/dev/acpica/acpi_spmc.c
+4-21 files

pkgng/pkgng 56120ea — . NEWS, libpkg fetch_libfetch.c

fetch: look the server list up once

When the SRV records or the mirror list of a repository cannot be resolved,
pkg falls back on the host of its URL, but the list was only cached on
success: the failing lookup, which is slow on a network without DNS, was
done again for every file fetched from the repository, and its error was
reported as many times.

Remember that the list could not be resolved for the repository, so that a
run looks it up once and reports it once.

Reported in #2786.
DeltaFile
+45-2tests/frontend/http.sh
+18-12libpkg/fetch_libfetch.c
+6-0libpkg/private/pkg.h
+3-0NEWS
+72-144 files

LLVM/project 4ba06ec — clang/include/clang/Basic Diagnostic.h, clang/include/clang/Sema Sema.h

[clang] Make documentation warnings faster with --warning-suppression-mappings= (#244714)

...when the warning suppression mapping does not modify documentation
warnings.

Sema::areDocumentationDiagsEnabled() used to always go into the
sourceloc-dependent slow path if --warning-suppression-mappings= was
used.

Instead, only go down the slow path if the warning suppression mappings
actually modify documentation warning diags.

Reorder the existing code a bit to make sure this new logic can't get out
of sync with the existing logic, and make DiagSuppressionMapping a
unique_ptr to a pImpl instead of a functor to give easy access to its keys.

For 119 Chromium TUs drawn with probability proportional to their
compile time in a build of `chrome`:


    [6 lines not shown]
DeltaFile
+40-35clang/lib/Basic/Diagnostic.cpp
+28-5clang/lib/Sema/Sema.cpp
+17-0clang/test/Sema/warn-documentation-suppression-mappings.cpp
+9-5clang/include/clang/Basic/Diagnostic.h
+7-0clang/include/clang/Sema/Sema.h
+4-0clang/test/Sema/Inputs/documentation-suppression-mapping.txt
+105-451 files not shown
+108-457 files

LLVM/project 1f10346 — llvm/lib/Target/X86/GISel X86InstructionSelector.cpp, llvm/test/CodeGen/X86/GlobalISel select-ext-x86-64.mir select-ext.mir

[X86][GlobalISel] Use a class with sub_8bit for G_ZEXT from s1 (#245181)

selectZext lowers G_ZEXT from s1 to an INSERT_SUBREG of IMPLICIT_DEF
followed by an AND. The INSERT_SUBREG result used the full destination
class, but in 32-bit mode only some registers have 8-bit subregisters,
and in 64-bit mode GR64 includes RIP which has none. TwoAddress turns the
INSERT_SUBREG into a sub_8bit def of that register, which fails machine
verification with "Invalid subregister index for virtual register".

Use getSubClassWithSubReg to pick a class that supports sub_8bit.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+4-4llvm/test/CodeGen/X86/GlobalISel/select-ext.mir
+5-3llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
+2-2llvm/test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
+11-93 files

LLVM/project b7edddc — offload/include/Shared Debug.h

[offload][debug] Add REPORT_WARN and REPORT_FATAL macros

Add two new macros in the same style as REPORT(). REPORT_WARN prints a warning,
while REPORT_FATAL prints a fatal error and aborts the program.

Assisted-by: Claude Sonnet 5.5
DeltaFile
+42-8offload/include/Shared/Debug.h
+42-81 files

LLVM/project bb32487 — llvm/lib/Target/X86/GISel X86InstructionSelector.cpp, llvm/test/CodeGen/X86/GlobalISel select-ext-x86-64.mir select-ext.mir

[X86][GlobalISel] Use INSERT_SUBREG of IMPLICIT_DEF for any-extensions (#242335)

G_ANYEXT, the any-extension of copies into wider physical registers
generated by ABI lowering, and the any-extension of a 16-bit GPR copied
to an XMM register were all selected to SUBREG_TO_REG. SUBREG_TO_REG
means that the instruction defining the source register also defined
the other bits of the wider register, which is not true for 8-bit and
16-bit x86 operations, or for copies of 32-bit values from physical
registers. Use INSERT_SUBREG into an IMPLICIT_DEF instead, which leaves
the other bits undefined, as SelectionDAG does for any-extensions.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+28-9llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
+12-8llvm/test/CodeGen/X86/GlobalISel/select-ext.mir
+3-2llvm/test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
+43-193 files

LLVM/project 24d9325 — llvm/lib/Transforms/Scalar MemCpyOptimizer.cpp, llvm/test/Transforms/MemCpyOpt merge-with-interleaving-calls.ll

[MemCpyOpt] Fix miscompile with diverging calls between memory operations (#245241)
DeltaFile
+83-0llvm/test/Transforms/MemCpyOpt/merge-with-interleaving-calls.ll
+4-2llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
+87-22 files

NetBSD/pkgsrc-wip c9a16d1 — openssl options.mk buildlink3.mk, openssl/patches patch-util_perl_OpenSSL_config.pm

openssl: upgrade candidate to 4.1.0
DeltaFile
+6,820-0openssl/PLIST
+252-0openssl/builtin.mk
+163-0openssl/Makefile
+47-0openssl/patches/patch-util_perl_OpenSSL_config.pm
+26-0openssl/buildlink3.mk
+25-0openssl/options.mk
+7,333-04 files not shown
+7,377-110 files

pkgng/pkgng 17fa496 — . NEWS, libpkg pkg.h.in pkg_jobs.c

install|upgrade: tell that --fetch-only only downloads

The summary of a --fetch-only operation was the one of a real operation:
it asked to proceed with "this action" and announced the space which would
be freed or required, although nothing is installed, upgraded or removed
and only the packages are downloaded.

Say so in the summary, ask to proceed with the download, and leave the
space announcement out.  Add pkg_jobs_get_flags(), the counterpart of
pkg_jobs_set_flags(), to let the frontend know about the flags of the
jobs.

Reported in #2716.
DeltaFile
+74-1tests/frontend/upgrade.sh
+15-3src/utils.c
+6-0libpkg/pkg_jobs.c
+4-0libpkg/pkg.h.in
+4-0NEWS
+103-45 files

pkgng/pkgng 75df1ca — . NEWS, libpkg utils.c

install: resolve the ownership in the root directory

The users and groups of a package were resolved with getpwnam(3) and
getgrnam(3), which read the database of the host: a file declared as
belonging to a user of the root directory pkg installs into was given the
id the host knows for that name, or 0 when the host does not know it at
all, so the files were not owned by their user in the target.

Read the user and group databases of the root directory instead when pkg
installs into one, and keep resolving on the host when the files are not
there or do not carry the name.  pkg check, which resolves the names the
same way, compares against the right ids too.

Reported in #2179.
DeltaFile
+58-0libpkg/utils.c
+44-1tests/frontend/extract.sh
+4-0NEWS
+106-13 files

pkgng/pkgng 9055904 — . NEWS, docs pkg.conf.5

fetch: retry a transfer which fails in the middle

Only the connection set up was retried, FETCH_RETRY times per server, so a
connection which died in the middle of a large package aborted the whole
transaction and the bytes already downloaded were dropped.

Retry the transfer itself, the same number of times, resuming the package
where it stopped: the archives are opened for appending and the request is
ranged, which is the mechanism already used to resume a package left over
by an interrupted run.

Reported in #2786.
DeltaFile
+119-2tests/frontend/http.sh
+25-2libpkg/fetch.c
+3-0NEWS
+2-0docs/pkg.conf.5
+149-44 files

OPNSense/core a10dce5 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api FirewallController.php, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api AliasController.php

fix merge artifact, move refresh action into generic layer and comment on cache flushing of pfTop action
DeltaFile
+31-1src/opnsense/www/js/opnsense_bootgrid.js
+0-22src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+1-20src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+1-8src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php
+5-0src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/FirewallController.php
+38-515 files

FreeBSD/src 3fe8d76 — sys/geom geom_ctl.c

geom: Restore group operator

Traditionally, in BSD, the operator group has been intended for backup
operators and has been granted read-only access to disks and related
devices.  This includes geom.ctl, because backup operators need to be
able to dump partition tables.

Unfortunately, the geom.ctl device previously lacked proper access
control, and anyone with read access to it was able to modify GEOM
configuration, including modifying or destroying partitions, RAID
volumes, etc.  As a workaround, the ownership of geom.ctl was changed to
root:wheel so that only users who presumably already have root
privileges were able to access it.

Now that access control has been implemented, we can restore the
original ownership so backup operators can once more dump partition
tables.

This reverts commit 7d576f1d657fc21f97cedc28cc971621ee2490a7.
DeltaFile
+1-1sys/geom/geom_ctl.c
+1-11 files

LLVM/project f838efa — llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp

[LV] Fix a read after move (#245589)

Sink the move to be last - now `RedDes` is first being asserted and only
lastly moved from.
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+1-11 files