LLVM/project e7d1499clang/lib/Basic/Targets PPC.cpp

normalize the CPU name on the target* attribute
DeltaFile
+2-0clang/lib/Basic/Targets/PPC.cpp
+2-01 files

FreeBSD/ports 9d87327devel/R-cran-pkgload distinfo Makefile

devel/R-cran-pkgload: Update to 1.5.0

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

FreeBSD/src 0b17876sys/kern kern_synch.c kern_ktrace.c, sys/sys ktrace.h

ktrcsw(): should not be called when the thread is owning interlock or on sleepq

(cherry picked from commit 245157fd8a382c3989075789ee98582665f3b31d)
DeltaFile
+11-15sys/kern/kern_synch.c
+16-2sys/kern/kern_ktrace.c
+1-0sys/sys/ktrace.h
+28-173 files

FreeBSD/src 5ba503fsys/net if_lagg.c

lagg: Remove the member pr_num from struct lagg_proto

It is set but never used. Remove it to avoid confusion and save a
little space.

While here, use designated initializers to initialize the LAGG protocol
table. That improves readability, and it will be safer to initialize the
table if we introduce new protocols in the future.

No functional change intended.

Reviewed by:    glebius
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D55124
DeltaFile
+6-13sys/net/if_lagg.c
+6-131 files

FreeBSD/src a622030sys/net if_lagg.c

lagg: Make the none protocol a first-class citizen

All the other protocols have corresponding start and input routines,
which are used in the fast path. Currently the none protocol is
treated specially. In the fast path it is checked to indicate whether
a working protocol is configured. There are two issues raised by this
design:

1. In production, other protocols are commonly used, but not the
none protocol. It smells like an overkill to always check it in the
fast path. It is unfair to other commonly used protocols.

2. PR 289017 reveals that there's a small window between checking the
protocol and calling lagg_proto_start(). lagg_proto_start() is possible
to see the none protocol and do NULL deferencing.

Fix them by making the none protocol a first-class citizen so that it
has start and input routines just the same as other protocols. Then we
can stop checking it in the fast path, since lagg_proto_start() and

    [13 lines not shown]
DeltaFile
+33-9sys/net/if_lagg.c
+33-91 files

LLVM/project a5b2974compiler-rt/lib/ubsan CMakeLists.txt, compiler-rt/test/cfi lit.cfg.py trap_loop_signal_handler.inc

Address review comments, add missing dep on headers

Created using spr 1.3.6-beta.1
DeltaFile
+5-5compiler-rt/test/cfi/lit.cfg.py
+5-0compiler-rt/test/cfi/trap_loop_signal_handler.inc
+0-5compiler-rt/test/cfi/trap_loop_signal_handler.h
+2-1compiler-rt/lib/ubsan/CMakeLists.txt
+1-0llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
+13-115 files

LLVM/project 61b8a57mlir/include/mlir/Dialect/XeGPU/Transforms XeGPULayoutImpl.h, mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp

[MLIR][XeGPU] Refactor layout propagation utilities (#179016)

This PR refactors layout propagation into two distinct components:
result/anchor layout setup and source layout inference from the result.

For operations that require a specific result layout due to semantic or
hardware constraints, the propagation logic explicitly sets up the
result or anchor layout. Otherwise, it infers the source layout from the
backward-propagated consumer layout.

The result or anchor layout may differ from the backward-propagated
consumer layout; any such discrepancies are resolved via the existing
layout-conflict mechanism.

**This PR introduces the following utility functions:**

Source layout inference:

> inferBroadcastSourceLayout()

    [16 lines not shown]
DeltaFile
+851-0mlir/lib/Dialect/XeGPU/Transforms/XeGPULayoutImpl.cpp
+239-286mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+223-24mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+168-0mlir/include/mlir/Dialect/XeGPU/Transforms/XeGPULayoutImpl.h
+55-105mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+109-28mlir/test/Dialect/XeGPU/propagate-layout.mlir
+1,645-44315 files not shown
+1,902-54821 files

LLVM/project 8063b2bllvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext/sext transform and update tests
DeltaFile
+0-49llvm/utils/profcheck-xfail.txt
+8-12llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+1-1llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+9-623 files

LLVM/project 72c9db8llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext transform.
DeltaFile
+17-4llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+9-5llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+0-1llvm/utils/profcheck-xfail.txt
+26-103 files

LLVM/project d826ab7llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in symmetric select folding
DeltaFile
+6-3llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+6-42 files

LLVM/project 065afdcllvm/lib/Transforms/InstCombine InstCombineCalls.cpp InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in clamp folds and fix verifier errors
DeltaFile
+18-5llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+5-4llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+23-103 files

LLVM/project 2c91183llvm/lib/Transforms/InstCombine InstCombineSelect.cpp InstCombineAndOrXor.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in logical op creation and select folding
DeltaFile
+12-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+8-2llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-1llvm/utils/profcheck-xfail.txt
+20-33 files

LLVM/project 97fd687llvm/lib/Transforms/InstCombine InstCombineShifts.cpp InstCombineAddSub.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in shift-of-select folding
DeltaFile
+8-2llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+3-0llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+2-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+0-1llvm/utils/profcheck-xfail.txt
+13-44 files

LLVM/project fb09489llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in select factorization folding
DeltaFile
+12-12llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+12-132 files

LLVM/project 0f3e4f1llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in nested select folding
DeltaFile
+6-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+1-1llvm/utils/profcheck-xfail.txt
+7-32 files

LLVM/project 39290ffllvm/lib/Transforms/InstCombine InstCombineSelect.cpp InstCombineCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in select(ldexp) and ldexp(select) folding
DeltaFile
+11-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+5-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+16-33 files

LLVM/project 2191854llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in ldexp(zext) folding
DeltaFile
+10-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+10-12 files

LLVM/project 9978f5bllvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Comprehensive fix for missing profile metadata in libcall simplifications
DeltaFile
+50-22llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+50-232 files

LLVM/project 508d5d3llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in memchr-to-select folding
DeltaFile
+10-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+10-22 files

LLVM/project 0348ea5llvm/lib/Transforms/InstCombine InstCombineAndOrXor.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in logic-to-select folding
DeltaFile
+3-0llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-1llvm/utils/profcheck-xfail.txt
+3-12 files

LLVM/project 5b69167llvm/lib/Transforms/InstCombine InstCombineShifts.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in lshr-to-select folding
DeltaFile
+8-1llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+0-1llvm/utils/profcheck-xfail.txt
+8-22 files

LLVM/project 70905b1llvm/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/test/Transforms/InstCombine fmul.ll

InstCombine: Propagate profile metadata in mul(select) folding
DeltaFile
+50-8llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
+5-3llvm/test/Transforms/InstCombine/fmul.ll
+0-1llvm/utils/profcheck-xfail.txt
+55-123 files

LLVM/project aa330e9llvm/lib/Transforms/InstCombine InstCombineSelect.cpp InstCombineInternal.h, llvm/test/Transforms/InstCombine canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll

InstCombine: Propagate profile metadata in clamp canonicalization
DeltaFile
+16-6llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+8-4llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll
+1-1llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+0-1llvm/utils/profcheck-xfail.txt
+25-124 files

LLVM/project 0bf5721llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine clamp-to-minmax.ll

InstCombine: Propagate profile metadata in floating point clamp and swap canonicalization
DeltaFile
+17-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+11-6llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
+3-1llvm/utils/profcheck-xfail.txt
+31-93 files

LLVM/project 9400a48llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine fneg.ll

InstCombine: Propagate profile metadata in fneg(select) folding
DeltaFile
+8-4llvm/test/Transforms/InstCombine/fneg.ll
+6-0llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+0-1llvm/utils/profcheck-xfail.txt
+14-53 files

LLVM/project 72fdea8llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/test/Transforms/InstCombine fabs.ll

InstCombine: Propagate profile metadata in fabs(select) folding
DeltaFile
+5-3llvm/test/Transforms/InstCombine/fabs.ll
+3-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+8-43 files

LLVM/project 8f1ef56llvm/lib/Transforms/InstCombine InstCombineCasts.cpp, llvm/test/Transforms/InstCombine cast-mul-select.ll

InstCombine: Propagate profile metadata in EvaluateInDifferentType to select
DeltaFile
+181-67llvm/test/Transforms/InstCombine/cast-mul-select.ll
+6-0llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+0-1llvm/utils/profcheck-xfail.txt
+187-683 files

LLVM/project 6267377llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in SimplifyLibCalls for FFS
DeltaFile
+15-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+15-22 files

LLVM/project 6fd7974llvm/lib/Analysis MemoryBuiltins.cpp, llvm/test/Transforms/InstCombine builtin-dynamic-object-size.ll

InstCombine: Propagate profile metadata in objectsize lowering to select
DeltaFile
+16-0llvm/lib/Analysis/MemoryBuiltins.cpp
+8-3llvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll
+0-1llvm/utils/profcheck-xfail.txt
+24-43 files

LLVM/project 6551b32llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine select-and-or.ll

Fix profile metadata propagation in InstCombine select folding

Propagate profile metadata when folding select instructions with logical AND/OR conditions and when canonicalizing SPF to intrinsics. This fixes profile verification failures in Transforms/InstCombine/select-and-or.ll.
DeltaFile
+110-108llvm/test/Transforms/InstCombine/select-and-or.ll
+16-10llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+126-1193 files