LLVM/project abcbd44 — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer InstrMaps.h, llvm/lib/CodeGen CriticalAntiDepBreaker.h

[llvm] Remove unused private member variables (NFC) (#242928)

sandboxir::InstrMaps::EraseInstrCB: The last uses were removed on
February 20, 2025 in commit 10b99e97ff866b43569531b890c11b4a3011f6a2.

CriticalAntiDepBreaker::AllocatableSet: The last uses were removed on
June 16, 2011 in commit 4f5f84c7e7beb4caa222b835227cccc653d820f4.

FrameTypeBuilder::FieldIndexByKey: Added on March 25, 2020 in commit
9514c048d89e6aef82d86c3478223fcb28230a4f without any uses.

TransformDFA::TPaths: Added on July 27, 2021 in commit
02077da7e7a8ff76c0576bb33adb462c337013f5 without any uses.

GVNHoist::IDFBlocks: Added on September 13, 2017 in commit
dfa8741c9693c344477c842a25ee0cb6a6f59fcd without any uses. Note that
GVNHoist::computeInsertionPoints declares a local variable with the same
name that shadows this member variable.


    [4 lines not shown]
DeltaFile
+0-5llvm/lib/CodeGen/CriticalAntiDepBreaker.h
+0-4llvm/lib/Transforms/Utils/ValueMapper.cpp
+0-2llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/InstrMaps.h
+0-1llvm/lib/Transforms/Scalar/GVNHoist.cpp
+0-1llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
+0-1llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+0-146 files

LLVM/project dad0d10 — mlir/include/mlir/Dialect/AMDGPU/IR AMDGPUOps.td, mlir/include/mlir/Dialect/LLVMIR ROCDLOps.td

[mlir][AMDGPU] Add preferAgpr hint to MFMA operations

The AMDGPU backend accepts the `!amdgpu.mfma !{!"agpr"}` instruction
metadata on calls to the `llvm.amdgcn.mfma.*` intrinsics (including
`llvm.amdgcn.mfma.scale.*`). The metadata is a hint that asks the backend
to allocate the accumulator input (C) and the result (D) of the MFMA to
AGPRs. The backend can ignore the hint, and dropping it does not change
program behavior.

Add an optional `preferAgpr` unit attribute to the ROCDL MFMA intrinsic
operations, including the scaled MFMA operations, and to `amdgpu.mfma` and
`amdgpu.scaled_mfma`. When the attribute is present, the translation to
LLVM IR attaches `!amdgpu.mfma !{!"agpr"}` to the intrinsic call, and the
AMDGPUToROCDL conversion copies the attribute to the ROCDL operation. When
the attribute is absent, the printed operations and the translated LLVM IR
are the same as before.

The SMFMAC operations do not get the attribute because the backend ignores
the hint on `llvm.amdgcn.smfmac.*`.

    [5 lines not shown]
DeltaFile
+49-7mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+32-0mlir/test/Dialect/LLVMIR/rocdl.mlir
+23-4mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPUOps.td
+27-0mlir/test/Target/LLVMIR/rocdl.mlir
+18-0mlir/test/Dialect/AMDGPU/ops.mlir
+14-0mlir/test/Conversion/AMDGPUToROCDL/mfma-gfx950.mlir
+163-113 files not shown
+188-119 files

LLVM/project 2e9d3ab — llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU mfma-scale.ll

[AMDGPU] Keep metadata when shrinking scaled MFMA fp4/fp6 operands

InstCombine narrows the A/B operands of llvm.amdgcn.mfma.scale.*.f8f6f4
for fp4/fp6 formats by creating a new call, but did not copy the old
call's metadata. Copy it, as the other rewrites in this file do, so
hints such as !amdgpu.mfma survive.
DeltaFile
+18-0llvm/test/Transforms/InstCombine/AMDGPU/mfma-scale.ll
+2-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+20-02 files

LLVM/project d87c8a0 — llvm/docs AMDGPUUsage.md, llvm/include/llvm/CodeGen SelectionDAG.h

[AMDGPU][SelectionDAG] Select the MFMA AGPR form from !amdgpu.mfma metadata

Problem
- Frontends (Triton) pin MFMA accumulators to AGPRs with "=a" inline asm.
- The asm forces VGPR->AGPR copies around every MFMA (v_accvgpr_mov
  + s_nop inside loops), and selection has no way to ask for the AGPR
  form per instruction: it is chosen per function.

Idea: a droppable hint on the MFMA call, read when the form is selected.

  IR    call @llvm.amdgcn.mfma.*(...), !amdgpu.mfma !{!"agpr"}
          |  SelectionDAGBuilder: TLI.getTargetIntrinsicHint(I)
  DAG   INTRINSIC_WO_CHAIN  --SDEI side table: TargetHint
          |  CanUseAGPR_MAI predicate
  MIR   V_MFMA_..._e64 (AGPR form): C/D are AReg, no copies

How
1. TargetLowering::getTargetIntrinsicHint returns metadata from an
   intrinsic call; SelectionDAGBuilder stores it on the node in the

    [34 lines not shown]
DeltaFile
+771-0llvm/test/CodeGen/AMDGPU/mfma-agpr-metadata.ll
+155-0llvm/test/CodeGen/AMDGPU/mfma-scale-agpr-metadata.ll
+62-0llvm/test/CodeGen/AMDGPU/amdgpu-attributor-mfma-agpr-metadata.ll
+30-0llvm/docs/AMDGPUUsage.md
+20-4llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+11-0llvm/include/llvm/CodeGen/SelectionDAG.h
+1,049-48 files not shown
+1,089-414 files

LLVM/project 66cb135 — llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.256bit.ll peephole-fold-imm.mir

AMDGPU: Fold inline immediates in peephole-opt (#242952)

Currently the AMDGPU implementation of foldImmediate handles a small
set of special cases that require rewriting the instruction opcode
(COPY -> mov, and fma-like to fmac-like). Most general immediate folding
is handled in SIFoldOperands. Teach PeepholeOpt to fold all inline
immediates into target instructions which should always be an
improvement.

This is to help alleviate some phase ordering problems in future changes.
I've also never liked how SIFoldOperands is written and it could use a
rewrite, and this will alleviate some of its responsibilties. It will
always be necessary since some operand folds require additional context
that foldImmediate won't have (namely, we have to make contextually
aware tradeoffs for which operands are worth folding to respect constant bus
restrictions, considering other users of the values).


Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2,374-2,371llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+490-485llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+68-74llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.320bit.ll
+107-9llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+45-52llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+58-10llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+3,142-3,00114 files not shown
+3,234-3,17020 files

LLVM/project 79745d6 — llvm/lib/Target/AMDGPU SIPostRA16BitMovFolding.cpp, llvm/test/CodeGen/AMDGPU si-post-ra-merge-v-mov-b16.mir

AMDGPU: Clear stale kills when merging v_mov_b16 pairs

SIPostRA16BitMovFolding can insert the merged 32-bit instruction after
an instruction that kills the first mov's source, which then reads a
register the verifier considers dead:

  $vgpr7_lo16 = V_MOV_B16_t16_e32 $vgpr5_lo16
  $vgpr16 = V_PERM_B32_e64 killed $vgpr5, $vgpr6, ...
  $vgpr7_hi16 = V_MOV_B16_t16_e32 killed $vgpr6_lo16
=>
  $vgpr16 = V_PERM_B32_e64 killed $vgpr5, $vgpr6, ...
  $vgpr7 = V_PERM_B32_e64 $vgpr6, $vgpr5, ...

Clear kill flags of the first mov's source between the first mov and
the insertion point.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+24-0llvm/lib/Target/AMDGPU/SIPostRA16BitMovFolding.cpp
+20-0llvm/test/CodeGen/AMDGPU/si-post-ra-merge-v-mov-b16.mir
+44-02 files

FreeBSD/ports 423f4b4 — emulators/mame Makefile

emulators/mame: Enable TOOLS option by default

Enable building tools by default, as they add little to the build time.
This avoids requiring users who need the tools to rebuild MAME.

PR:             300705
Reported by:    Benoit Felix <benoit.felix at outlook.com>
Approved by:    thierry (mentor, implicit)
DeltaFile
+2-1emulators/mame/Makefile
+2-11 files

LLVM/project 4754f94 — llvm/lib/IR Attributes.cpp

IR: Check for overlap before copying in AttributeSet::removeAttributes

removeAttributes copied the whole set into an AttrBuilder to check if
the mask overlaps it, which it usually doesn't. Check the attributes
of directly with the mask and only build the AttrBuilder if something
needs to be removed.

callgrind instructions, opt -O3: kimwitu++ k.bc -0.16%, SPASS cnf.bc
-0.08%. CTMark instructions:u: ThinLTO -0.02% (kimwitu++ -0.06%)

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-2llvm/lib/IR/Attributes.cpp
+2-21 files

LLVM/project 976223f — orc-rt/include/orc-rt/support SymbolLookupSet.h RemoteSymbolLookupSet.h, orc-rt/include/orc-rt/support/sps SPSSymbolLookupSet.h SPSRemoteSymbolLookupSet.h

[orc-rt] Rename SymbolLookupSet to RemoteSymbolLookupSet. NFC. (#242950)

The std::string-based set is only used for lookup requests that arrive
from the controller. Renaming it frees SymbolLookupSet for a set of
interned (StringPool::Ptr) names, and matches the existing names on the
LLVM side, where llvm::orc::SymbolLookupSet holds interned names and
llvm::orc::RemoteSymbolLookupSet holds plain strings.

The SPS tag SPSSymbolLookupSet is unchanged: it names the wire format,
which LLVM uses for both kinds of set.
DeltaFile
+75-0orc-rt/include/orc-rt/support/sps/SPSRemoteSymbolLookupSet.h
+0-72orc-rt/include/orc-rt/support/sps/SPSSymbolLookupSet.h
+63-0orc-rt/include/orc-rt/support/RemoteSymbolLookupSet.h
+61-0orc-rt/test/unit/support/sps/SPSRemoteSymbolLookupSetTest.cpp
+0-60orc-rt/test/unit/support/sps/SPSSymbolLookupSetTest.cpp
+0-60orc-rt/include/orc-rt/support/SymbolLookupSet.h
+199-19222 files not shown
+289-28128 files

LLVM/project 4534d33 — llvm/lib/IR AutoUpgrade.cpp

AutoUpgrade: Skip return values and arguments without attributes

UpgradeFunctionAttributes built the mask of type incompatible
attributes and tried to remove them from all arg and return positions,
even if there were no attributes.

callgrind instructions, opt -O3: kimwitu++ k.bc -0.05%, SPASS cnf.bc
-0.02%. CTMark instructions:u: ThinLTO -0.02%

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+12-5llvm/lib/IR/AutoUpgrade.cpp
+12-51 files

FreeBSD/ports 32c9594 — devel/violet Makefile distinfo

devel/violet: Follow upstream tarball reroll

MFH:          2026Q4

(cherry picked from commit 152c25d843ea2e1cee6b8b0d78388d51b628fc81)
DeltaFile
+3-3devel/violet/distinfo
+1-1devel/violet/Makefile
+4-42 files

FreeBSD/ports 152c25d — devel/violet Makefile distinfo

devel/violet: Follow upstream tarball reroll
DeltaFile
+3-3devel/violet/distinfo
+1-1devel/violet/Makefile
+4-42 files

LLVM/project c44c502 — llvm/test/CodeGen/AMDGPU peephole-fold-imm.mir

Use noinline pseudo scalar trans opcode in peephole-fold-imm test

V_S_EXP_F16_e64 is not available on gfx1250, which only has the
_noinline variant.
DeltaFile
+5-6llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+5-61 files

LLVM/project f264e36 — llvm/test/CodeGen/AMDGPU peephole-fold-imm.mir

add bad pseudo_scalar_trans_restriction test
DeltaFile
+14-0llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+14-01 files

LLVM/project fb50775 — llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.256bit.ll peephole-fold-imm.mir

AMDGPU: Fold inline immediates in peephole-opt

Currently the AMDGPU implementation of foldImmediate handles a small
set of special cases that require rewriting the instruction opcode
(COPY -> mov, and fma-like to fmac-like). Most general immediate folding
is handled in SIFoldOperands. Teach PeepholeOpt to fold all inline
immediates into target instructions which should always be an improvement.

This is to help alleviate some phase ordering problems in future changes.
I've also never liked how SIFoldOperands is written and it could use a
rewrite, and this will alleviate some of its responsibilties. It will
always be necessary since some operand folds require additional context
that foldImmediate won't have (namely, we have to make contextually aware
tradeoffs for which operands are worth folding to respect constant bus
restrictions, considering other users of the values).

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2,374-2,371llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+490-485llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+68-74llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.320bit.ll
+94-9llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+45-52llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+58-10llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+3,129-3,00114 files not shown
+3,221-3,17020 files

LLVM/project bc571f1 — llvm/test/CodeGen/AMDGPU peephole-fold-imm.mir

Use noinline pseudo scalar trans opcode in peephole-fold-imm test

V_S_EXP_F16_e64 is not available on gfx1250, which only has the
_noinline variant.
DeltaFile
+5-6llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+5-61 files

FreeBSD/src e550130 — sys/netinet/tcp_stacks rack.c

tcp/rack: reject wma_divisor values <= 0

The net.inet.tcp.rack.measure.wma_divisor sysctl is the divisor
of the goodput weighted moving average used when the dynamic
goodput multiplier is enabled.  Setting it to 0 panics the kernel.

Make the variable and the sysctl unsigned, reject 0 and values
above INT32_MAX.

MFC after:      1 month
Found with:     Claude Code Opus 5.5
Reviewed by:    tuexen, glebius, markj (early version)
Differential Revision:  https://reviews.freebsd.org/D60759

(cherry picked from commit 7668705cb9837d4c3a6db9b3434b3a522220c8ea)
DeltaFile
+21-5sys/netinet/tcp_stacks/rack.c
+21-51 files

LLVM/project c32bcf3 — llvm/lib/Target/X86 X86InstrACE.td

[X86][ACEV1][NFC] Emit the ACE instruction definitions from multiclasses

Most ACE operations need three definitions: the instruction itself, a pseudo
for the user-facing intrinsic that takes an immediate tile ID, and a pseudo
for the internal intrinsic that takes a shape and a tile register so the
register allocator can assign TMMs. All three were written out by hand for
every operation, so the four integer outer products differed only in
mnemonic and prefix, and the twelve row-read pseudos only in the intrinsic.

Emit them from five multiclasses, one per operation shape, deriving the
intrinsic names from the mnemonic as X86InstrAMX.td already does.
DeltaFile
+207-399llvm/lib/Target/X86/X86InstrACE.td
+207-3991 files

LLVM/project e668aa9 — clang-tools-extra/docs/clang-tidy/checks/modernize avoid-c-arrays.md macro-to-enum.md

[clang-tidy][docs] Rewrite modernize check docs to Markdown [1/4] (#232207)

Tracking issue: #201242

See the [migration guide] for more information.

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the first part of rewriting check documentations in modernize module from reST to MyST Markdown.

AI Usage: This was prepared with rnk's fork of rst2myst and GPT6-assisted (Codex) cleanup.
I manually verified that the documentation renders as expected.

Preview site:
https://broken.life/llvm-staging/modernize-markdown-port/index.html

Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
DeltaFile
+187-202clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+55-56clang-tools-extra/docs/clang-tidy/checks/modernize/deprecated-headers.md
+55-56clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/concat-nested-namespaces.md
+46-47clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-arrays.md
+437-4574 files not shown
+556-58810 files

LLVM/project 9f71da7 — orc-rt/include/orc-rt/support SymbolLookupSet.h SymbolLookupResult.h, orc-rt/include/orc-rt/support/sps SPSSymbolLookupResult.h

[orc-rt] Move SymbolLookupResult into its own header. NFC. (#242948)

Splits SymbolLookupResult out of SymbolLookupSet.h, along with its SPS
serialization (now SPSSymbolLookupResult.h) and its unit tests. This
prepares for adding an interned-string counterpart to SymbolLookupSet:
both kinds of set will share the result type.
DeltaFile
+58-0orc-rt/include/orc-rt/support/SymbolLookupResult.h
+53-0orc-rt/test/unit/support/SymbolLookupResultTest.cpp
+47-0orc-rt/include/orc-rt/support/sps/SPSSymbolLookupResult.h
+39-0orc-rt/test/unit/support/sps/SPSSymbolLookupResultTest.cpp
+1-37orc-rt/test/unit/support/SymbolLookupSetTest.cpp
+2-36orc-rt/include/orc-rt/support/SymbolLookupSet.h
+200-7315 files not shown
+215-10921 files

FreeBSD/ports a8833b9 — databases/p5-DBD-mysql Makefile distinfo

databases/p5-DBD-mysql: Update 5.008 => 5.014

Changelog:
https://metacpan.org/release/DVEEDEN/DBD-mysql-5.014/source/Changes

PR:             300518
Approved by:    Remko Catersels <sirdice at gmail.com> (maintainer)
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q4

(cherry picked from commit 9b378e1d3c7573e1d9e1943ae0c8aeccff01dea1)
DeltaFile
+3-3databases/p5-DBD-mysql/distinfo
+1-1databases/p5-DBD-mysql/Makefile
+4-42 files

FreeBSD/ports 9b378e1 — databases/p5-DBD-mysql Makefile distinfo

databases/p5-DBD-mysql: Update 5.008 => 5.014

Changelog:
https://metacpan.org/release/DVEEDEN/DBD-mysql-5.014/source/Changes

PR:             300518
Approved by:    Remko Catersels <sirdice at gmail.com> (maintainer)
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q4
DeltaFile
+3-3databases/p5-DBD-mysql/distinfo
+1-1databases/p5-DBD-mysql/Makefile
+4-42 files

LLVM/project 2084bf5 — clang-tools-extra/docs/clang-tidy/checks/modernize avoid-c-arrays.md macro-to-enum.md

[clang-tidy][docs] Rewrite modernize check docs to Markdown [1/4]
DeltaFile
+191-198clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+57-56clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+55-54clang-tools-extra/docs/clang-tidy/checks/modernize/deprecated-headers.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/concat-nested-namespaces.md
+47-46clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-arrays.md
+444-4504 files not shown
+575-56710 files

LLVM/project dda745d — clang-tools-extra/docs/clang-tidy/checks/modernize macro-to-enum.md

Update clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md

Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
DeltaFile
+1-1clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+1-11 files

LLVM/project 47262b1 — clang-tools-extra/docs/clang-tidy/checks/modernize avoid-bind.md min-max-use-initializer-list.md

~
DeltaFile
+1-11clang-tools-extra/docs/clang-tidy/checks/modernize/make-shared.md
+2-10clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+0-10clang-tools-extra/docs/clang-tidy/checks/modernize/make-unique.md
+3-5clang-tools-extra/docs/clang-tidy/checks/modernize/deprecated-headers.md
+0-6clang-tools-extra/docs/clang-tidy/checks/modernize/min-max-use-initializer-list.md
+1-3clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+7-452 files not shown
+8-488 files

FreeBSD/src 71ed238 — contrib/llvm-project/llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge commit 72a20b8e2987 from llvm git (by Gabriel Baraldi):

  [SLPVectorizer] Check std::optional coming out of getPointersDiff (#175784)

  Fixes https://github.com/llvm/llvm-project/issues/175768
  There are other unchecked uses std::optional in this pass but I couldn't
  figure out a test that triggers them

This fixes a clang crash in the SLP vectorizer, hit when building
audio/csound on powerpc64le. The hardened libc++ traps on the disengaged
optional, so clang dies with exit code 133. The second hunk is adapted to
llvm 21, where analyzeConstantStrideCandidate() is still isStridedLoad().

Approved by:    re (cperciva)
Reviewed by:    dim
MFC after:      3 days

Differential Revision:  https://reviews.freebsd.org/D61354


    [2 lines not shown]
DeltaFile
+25-7contrib/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+25-71 files

LLVM/project 5dae937 — clang-tools-extra/docs/clang-tidy/checks/modernize macro-to-enum.rst macro-to-enum.md

[clang-tidy][docs] Rename modernize check docs to Markdown [1/4] (#232206)

Tracking issue: #201242

See the [migration guide] for more information.

[migration guide]:

https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the first part of the mechanical rename of the check
documentations in modernize module.
The rewrite is provided by the next PR in this stack.
DeltaFile
+0-326clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.rst
+326-0clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+0-89clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.rst
+89-0clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+0-85clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.rst
+85-0clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+500-50014 files not shown
+919-91920 files

LLVM/project 93be4ee — llvm/test/CodeGen/AMDGPU peephole-fold-imm.mir

add bad pseudo_scalar_trans_restriction test
DeltaFile
+14-0llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+14-01 files

LLVM/project af17f91 — llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.256bit.ll peephole-fold-imm.mir

AMDGPU: Fold inline immediates in peephole-opt

Currently the AMDGPU implementation of foldImmediate handles a small
set of special cases that require rewriting the instruction opcode
(COPY -> mov, and fma-like to fmac-like). Most general immediate folding
is handled in SIFoldOperands. Teach PeepholeOpt to fold all inline
immediates into target instructions which should always be an improvement.

This is to help alleviate some phase ordering problems in future changes.
I've also never liked how SIFoldOperands is written and it could use a
rewrite, and this will alleviate some of its responsibilties. It will
always be necessary since some operand folds require additional context
that foldImmediate won't have (namely, we have to make contextually aware
tradeoffs for which operands are worth folding to respect constant bus
restrictions, considering other users of the values).

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2,374-2,371llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+490-485llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+68-74llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.320bit.ll
+94-9llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+45-52llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+58-10llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+3,129-3,00114 files not shown
+3,221-3,17020 files

LLVM/project 933717e — llvm/lib/Target/X86 X86Subtarget.h X86TargetTransformInfo.cpp, llvm/test/Transforms/GlobalOpt/X86 apx.ll

[X86][fastcc] Extend FASTCC to be used with AVX10 (#240817)

This allows generating fastcc when both caller and callee have APX
feature, or have APX and AVX10.1

See discussion in
https://github.com/llvm/llvm-project/pull/164638#issuecomment-6450715688
DeltaFile
+61-4llvm/test/Transforms/GlobalOpt/X86/apx.ll
+4-1llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+1-0llvm/lib/Target/X86/X86Subtarget.h
+66-53 files