LLVM/project ebf518bmlir/include/mlir/Dialect/XeGPU/Transforms XeGPULayoutImpl.h, mlir/include/mlir/Dialect/XeGPU/uArch IntelGpuXe2.h

[MLIR][XeGPU] Refactor XeGPU layout propagation: passing lane_layout/lane_data with inst_data (#203156)

**Motivation**

Enhance setup* rules in layout propagation to pass lane_layout, and
lane_data information during inst_data propagation, so that the
propagation can have lane level information when choosing an optimal
inst_data. This branch makes that relationship explicit and uniform
across all setup rules.

**Invariant**

All setup rules now produce layouts that satisfy:

Nd ops + dpas/dpas_mx: inst_data = k * (lane_layout * lane_data), k ≥ 1
Scatter/matrix ops + non-anchor ops: inst_data = lane_layout * lane_data

**Key changes in XeGPULayoutImpl**
- New per-op anchor setup rules: setupStoreNdAnchorLayout,

    [38 lines not shown]
DeltaFile
+1,554-816mlir/lib/Dialect/XeGPU/Transforms/XeGPULayoutImpl.cpp
+388-369mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+286-240mlir/test/Dialect/XeGPU/propagate-layout-inst-data.mlir
+100-106mlir/test/Dialect/XeGPU/propagate-layout.mlir
+117-9mlir/include/mlir/Dialect/XeGPU/Transforms/XeGPULayoutImpl.h
+45-22mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h
+2,490-1,5624 files not shown
+2,514-1,57310 files

LLVM/project 9757708llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize pred-inst-discount-vector-library-call.ll

[LoopVectorize] Don't assert in getVectorCallCost for vector library variants (#202085)

During loop vectorization, `computePredInstDiscount` queries the cost of
instructions at vector VF using `getInstructionCost`. A `CallInst` with
a vector library variant delegates to `getVectorCallCost`, which
asserted that such variants should not reach it.

A predicated call can however reach `getVectorCallCost` via
`computePredInstDiscount` — before its widening decision is made — when
a predicated user (e.g. a scatter store) is being considered for
scalarization. Remove the assert and fall through to the existing
scalarization cost, which is the cost relevant to that analysis.

Adds a regression test exercising that path.
DeltaFile
+221-0llvm/test/Transforms/LoopVectorize/pred-inst-discount-vector-library-call.ll
+30-20llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+251-202 files

FreeBSD/ports 12e2910audio/gnome-podcasts distinfo Makefile.crates

audio/gnome-podcasts: Update to 25.3
DeltaFile
+785-573audio/gnome-podcasts/distinfo
+391-285audio/gnome-podcasts/Makefile.crates
+2-2audio/gnome-podcasts/Makefile
+1-0audio/gnome-podcasts/pkg-plist
+1,179-8604 files

LLVM/project f5d3175llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-sched-flavor-classification.mir coexec-scheduler.ll

[AMDGPU] Use instrLatency for memory HWUI cycle accounting

Change-Id: I7a9e2deb5db7638d6f735570e65d6ca988a7477f
DeltaFile
+3-3llvm/test/CodeGen/AMDGPU/coexec-sched-flavor-classification.mir
+5-0llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+2-2llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+2-2llvm/test/CodeGen/AMDGPU/ldsdmacnt_sched.mir
+12-74 files

LLVM/project c29679allvm/test/CodeGen/AMDGPU coexec-sched-flavor-classification.mir

Precommit test change

Change-Id: Id3546e1492a335f48cf70d9b0e93afe22b31ff7a
DeltaFile
+5-5llvm/test/CodeGen/AMDGPU/coexec-sched-flavor-classification.mir
+5-51 files

LLVM/project 594cce3llvm/lib/Target/AMDGPU SIWholeQuadMode.cpp, llvm/test/CodeGen/AMDGPU uniform-intrin-combine-wqm-demote.ll

[AMDGPU] Change static NOP last terminator SI_DEMOTE_I1 to be replaced by S_BRANCH instead of assert (#204649)

This issue was first discovered in some testing downstream. A specific
chain of transformations on a ballot instruction with a constant
argument followed by an llvm.amgcn.wqm.demote call leads to an
instruction of `SI_DEMOTE_I1 -1, 0` being the last terminator of a block
with a single successor. This instruction is a NOP and can safely be
replaced with an S_BRANCH to the block's successor instead of asserting
failure.

The test added in this change is a very simplified recreation of the
pattern seen in the shader compilation in the downstream that lead to
assertion failure
DeltaFile
+17-0llvm/test/CodeGen/AMDGPU/uniform-intrin-combine-wqm-demote.ll
+1-1llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
+18-12 files

LLVM/project c2a6fa7libcxx/utils/ci buildkite-pipeline.yml

[libcxx][FreeBSD] Bump CI version to 15.1
DeltaFile
+1-1libcxx/utils/ci/buildkite-pipeline.yml
+1-11 files

FreeBSD/src 5f376d5sys/kern sched_ule.c

sched_ule: sched_clock(): Remove a superfluous space

MFC after:      1 week
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/kern/sched_ule.c
+1-11 files

FreeBSD/src 83a6946sys/kern sched_ule.c

sched_ule: sched_priority(): More accurate __unused annotation

Change a '__unused' to '__diagused', which is more precise for that use.

No functional change.

MFC after:      1 week
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/kern/sched_ule.c
+1-11 files

FreeBSD/doc 3cf576fwebsite/content/ru/releases/15.1R installation.adoc

website/ru: Update releases/15.1R/installation.adoc

Update to EN 01bfc34871146e3de912efc4afe374393d265417
DeltaFile
+2-2website/content/ru/releases/15.1R/installation.adoc
+2-21 files

FreeBSD/doc 830bc8dwebsite/content/ru administration.adoc

website/ru: Update administration.adoc

Update to EN 01bfc34871146e3de912efc4afe374393d265417
DeltaFile
+2-2website/content/ru/administration.adoc
+2-21 files

LLVM/project 094c10fclang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp, clang/test/CIR/Transforms/abi-lowering indirect-byval.cir

[CIR] Lower byval/byref args in CallConvLowering (#201717)

[CIR] Lower byval/byref args in CallConvLowering

ArgKind::Indirect arguments were hitting an errorNYI in
CIRABIRewriteContext.  Add the lowering: in the callee the block argument
type changes to !cir.ptr<T>, a load is inserted at entry so the body sees
the original value type, and llvm.byval or llvm.byref is attached based on
ownership.  At call sites, both byval and byref are lowered by allocating a
stack slot, copying the value in, and passing the pointer.

For byval, llvm.noalias and llvm.noundef are also added -- llvm.noalias
because the call-site rewrite always produces a fresh alloca+store
(equivalent to -fpass-by-value-is-noalias), and llvm.noundef because the
copy is always fully defined.  byref carries only llvm.byref and llvm.align
since it does not assert exclusive ownership.
DeltaFile
+242-0clang/test/CIR/Transforms/abi-lowering/indirect-byval.cir
+147-66clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+389-662 files

LLVM/project 4c02baalldb/source/Plugins/Process/elf-core CMakeLists.txt

[lldb] Add missing dependency on lldbPluginObjectFilePlaceholder (#204831)

Fixes shared library build after 882d0251.
DeltaFile
+1-0lldb/source/Plugins/Process/elf-core/CMakeLists.txt
+1-01 files

LLVM/project 8413e55flang/lib/Lower/OpenMP Utils.cpp ClauseProcessor.cpp

Remove unnecessary lambda and helpers
DeltaFile
+5-10flang/lib/Lower/OpenMP/Utils.cpp
+3-9flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+8-192 files

LLVM/project 7347f56flang/lib/Lower/OpenMP Utils.cpp, flang/test/Lower/OpenMP motion-iterator.f90

Preserve descriptor strides for iterator map bounds

Iterator map lowering keeps a stable array base pointer and describes the
selected element or section with bounds inside omp.iterator. For boxed arrays,
those bounds must use the byte stride stored for each descriptor dimension.

Use fir.box_dims for boxed iterator map bounds and pass through each
dimension's descriptor byte stride. This preserves non-contiguous
assumed-shape actuals while keeping unit element strides for non-box arrays.
DeltaFile
+38-0flang/test/Lower/OpenMP/motion-iterator.f90
+21-4flang/lib/Lower/OpenMP/Utils.cpp
+59-42 files

LLVM/project f9db256llvm/lib/Target/X86 X86FrameLowering.cpp X86InstrInfo.cpp, llvm/lib/Target/X86/GISel X86InstructionSelector.cpp

[X86] Hoist getMOVriOpcode to X86InstrInfo.h and share it, NFC (#205187)

The x86 backend often needs to materialize potentially 64-bit immediates
into registers, and the logic to pick between the available opcodes
exists in 3 places at least. Move this to X86InstrInfo.h so we can share
it over the x86 backend without copying it.

An LLM did the refactoring.
DeltaFile
+9-18llvm/lib/Target/X86/X86FrameLowering.cpp
+12-0llvm/lib/Target/X86/X86InstrInfo.cpp
+2-8llvm/lib/Target/X86/X86FastISel.cpp
+1-6llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
+3-0llvm/lib/Target/X86/X86InstrInfo.h
+27-325 files

LLVM/project 92f058allvm/lib/DebugInfo/PDB/Native TpiStream.cpp, llvm/test/tools/llvm-pdbutil forward-cxx-to-c-odr.test forward-cxx-to-c.test

[DebugInfo][CodeView] Resolve forward references to types without unique name (#203781)

In the following code:
```cpp
// header.h
typedef struct lua_State lua_State;
lua_State *getState();

// source.c
#include "header.h"
struct lua_State { int field; };

lua_State *getState() {
    static lua_State state = {.field=42}; // make sure the type is emitted
    return &state;
}

// main.cpp
extern "C" {

    [16 lines not shown]
DeltaFile
+116-0llvm/test/tools/llvm-pdbutil/forward-cxx-to-c-odr.test
+89-0llvm/test/tools/llvm-pdbutil/forward-cxx-to-c.test
+15-8llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp
+220-83 files

LLVM/project bc756cdlibcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members get_long_double_zh_CN.pass.cpp, libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members put_long_double_zh_CN.pass.cpp

fixup! [libc++][FreeBSD] Fix localization test on FreeBSD
DeltaFile
+0-2libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
+0-2libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
+0-42 files

FreeBSD/ports d0eeb53editors/libreoffice Makefile

editors/libreoffice: Add missing quotes in CONFIGURE_ENV

PR:             296229
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 3638c4ca5fd7629e2c8f945a3622a5f185bc561b)
DeltaFile
+2-2editors/libreoffice/Makefile
+2-21 files

FreeBSD/ports 3638c4ceditors/libreoffice Makefile

editors/libreoffice: Add missing quotes in CONFIGURE_ENV

PR:             296229
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2editors/libreoffice/Makefile
+2-21 files

LLVM/project 0e98dd5llvm/include/llvm/Support GlobPattern.h, llvm/lib/Support GlobPattern.cpp

Revert "[NFC][Support] Implement slash-agnostic path matching in GlobPattern …"

This reverts commit 63e33c6aeed23e71763ea0dea89621d89866446e.
DeltaFile
+0-62llvm/unittests/Support/GlobPatternTest.cpp
+14-37llvm/lib/Support/GlobPattern.cpp
+3-6llvm/include/llvm/Support/GlobPattern.h
+17-1053 files

LLVM/project 0b5c006clang/docs SanitizerSpecialCaseList.rst ReleaseNotes.rst, clang/unittests/Basic DiagnosticTest.cpp

Revert "Make sanitizer special case list slash-agnostic" (#205399)

Reverts llvm/llvm-project#149886 as part of the process of reverting
https://github.com/llvm/llvm-project/pull/202854 due to downstream
breakage (see discussion in
https://github.com/llvm/llvm-project/pull/202854#issuecomment-4746579478)
DeltaFile
+0-35clang/unittests/Basic/DiagnosticTest.cpp
+6-25llvm/lib/Support/SpecialCaseList.cpp
+0-20llvm/unittests/Support/SpecialCaseListTest.cpp
+0-12clang/docs/SanitizerSpecialCaseList.rst
+0-5clang/docs/ReleaseNotes.rst
+6-975 files

LLVM/project 6709bcdllvm/unittests/Support GlobPatternTest.cpp

Revert "[NFC][Support] Add test for inverted slash-agnostic matching" (#205397)

Reverts llvm/llvm-project#203290 as part of the process of reverting
https://github.com/llvm/llvm-project/pull/202854 due to downstream
breakage (see discussion in
https://github.com/llvm/llvm-project/pull/202854#issuecomment-4746579478)
DeltaFile
+0-14llvm/unittests/Support/GlobPatternTest.cpp
+0-141 files

FreeBSD/ports cad715ddevel/oci-cli distinfo Makefile

devel/oci-cli: Update 3.83.0 => 3.88.0

Changelogs:
https://github.com/oracle/oci-cli/releases/tag/v3.84.0
https://github.com/oracle/oci-cli/releases/tag/v3.85.0
https://github.com/oracle/oci-cli/releases/tag/v3.86.0
https://github.com/oracle/oci-cli/releases/tag/v3.87.0
https://github.com/oracle/oci-cli/releases/tag/v3.88.0

PR:             296228
Sponsored by:   UNIS Labs
DeltaFile
+3-3devel/oci-cli/distinfo
+2-2devel/oci-cli/Makefile
+5-52 files

FreeBSD/ports 2c561eedevel/py-oci distinfo Makefile, devel/py-oci/files patch-pyproject.toml

devel/py-oci: Update 2.175.0 => 2.180.0

Changelogs:
https://github.com/oracle/oci-python-sdk/releases/tag/v2.176.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.177.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.178.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.179.0
https://github.com/oracle/oci-python-sdk/releases/tag/v2.180.0

PR:             296228
Sponsored by:   UNIS Labs
DeltaFile
+3-3devel/py-oci/distinfo
+2-2devel/py-oci/files/patch-pyproject.toml
+2-1devel/py-oci/Makefile
+7-63 files

LLVM/project 5ab7ad9llvm/lib/Target/RISCV RISCVInstrInfoXCV.td

[RISCV][XCV] Add missing IsRV32 predicate to the XCVmac block (#205095)

The XCVmac instruction block was missing the `IsRV32` predicate that
every other XCV block already carries. `HasVendorXCVmac` on its own does
not require RV32, so `-mtriple=riscv64 -mattr=+xcvmac` could select
these RV32-only vendor instructions on RV64. Add `IsRV32` to the XCVmac
block to match the other XCV extensions and prevent selecting invalid
instructions on RV64.

Split out of #204879 at review request (one fix per PR).

Part of a CORE-V (XCV) series; see RFC:
https://discourse.llvm.org/t/rfc-core-v-xcv-support-for-cv32e40p-clang-builtins-xcvsimd-intrinsics-and-generic-auto-selection/91111
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
+1-11 files

LLVM/project 0628d35clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenStmt.cpp

[CIR] Implement support for emitting label address constants (#203644)

The evalloop.c test in the llvm-test-suite single source tests contains
a static array that is initialized with the address of labels within the
enclosing function. This wasn't implemented in CIR.

This change adds an implementation. The constant emitter change was
trivial. We just needed to create a #cir.block_addr_info attribute.
However, using that attribute as an initializer for a global requires
some additional handling and special lowering for the initializer.

The goto solver also needed to be updated to consider uses of labels in
global initializers.

The test case here was copied over directly from classic codegen. The
original test has an additional test case for the difference between two
label addresses. Support for that case will be added in a future change.

Assisted-by: Cursor / claude-opus-4.8
DeltaFile
+78-0clang/test/CIR/CodeGen/const-label-addr.c
+47-12clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+28-3clang/lib/CIR/Dialect/Transforms/GotoSolver.cpp
+14-7clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+9-4clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+5-6clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+181-324 files not shown
+202-3610 files

OpenBSD/src Vygtyn4sys/netinet ip_mroute.c

   Remove global variable from multicast routing.

   Global variable struct sockaddr_in sin is used to pre-initialize
   length and family.  Changing sin_addr dynamically does not work in
   a multiprocessor environment.  Allocate and initialize sin on the
   stack.

   OK claudio@
VersionDeltaFile
1.152+4-3sys/netinet/ip_mroute.c
+4-31 files

LLVM/project 7a4dfabclang/include/clang/Basic SourceManager.h, clang/lib/Basic SourceManager.cpp

[clang] Fix incorrect filenames for hardlinks (#189475)

Previously hardlinked files would be discovered based on their inode,
leading to incorrect filepaths printed in some cases.

Fixes https://github.com/llvm/llvm-project/issues/26953
Fixes https://github.com/llvm/llvm-project/issues/58726

Related https://reviews.llvm.org/D137304

Assisted-by: codex
DeltaFile
+126-1clang/unittests/Basic/SourceManagerTest.cpp
+44-16clang/lib/Basic/SourceManager.cpp
+42-0clang/test/Preprocessor/hardlink-include-names.c
+6-0clang/include/clang/Basic/SourceManager.h
+2-2clang/test/DebugInfo/Generic/macro.c
+220-195 files

LLVM/project b5e9e48flang/lib/Semantics check-omp-structure.cpp, flang/test/Semantics/OpenMP if-clause-45-suggestion.f90 if-clause-50-suggestion.f90

Fix directive-name-modifier check
DeltaFile
+52-20flang/lib/Semantics/check-omp-structure.cpp
+18-0flang/test/Semantics/OpenMP/if-clause-45-suggestion.f90
+14-0flang/test/Semantics/OpenMP/if-clause-50-suggestion.f90
+84-203 files