LLVM/project 2c0b3b9clang/lib/AST StmtProfile.cpp

[NFC] Correct comments grammar and refine it (#190895)

Following https://github.com/llvm/llvm-project/pull/190732
DeltaFile
+1-1clang/lib/AST/StmtProfile.cpp
+1-11 files

FreeBSD/ports c4fe4eceditors/fresh distinfo Makefile.crates

editors/fresh: Update to 0.2.22
DeltaFile
+121-129editors/fresh/distinfo
+59-63editors/fresh/Makefile.crates
+1-1editors/fresh/Makefile
+181-1933 files

LLVM/project 413e580clang-tools-extra/clang-tidy ClangTidyCheck.h, clang-tools-extra/clang-tidy/bugprone SuspiciousIncludeCheck.cpp DynamicStaticInitializersCheck.cpp

[clang-tidy][NFC] Don't store a redundant copy of `HeaderFileExtensions` in every check (#190302)

#80333 removed local `HeaderFileExtensions` options; now there's just
the global option, and its value lives in the `ClangTidyContext`. But
every check still stores its own copy of it, a vestige of the old design
which this change fixes.
DeltaFile
+7-6clang-tools-extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp
+6-6clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.cpp
+4-6clang-tools-extra/clang-tidy/bugprone/SuspiciousIncludeCheck.cpp
+10-0clang-tools-extra/clang-tidy/ClangTidyCheck.h
+4-5clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
+4-4clang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp
+35-2715 files not shown
+50-7621 files

LLVM/project beb2bb2llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/RISCV clmul.ll

rebase

Created using spr 1.3.5-bogner
DeltaFile
+84,299-78,378llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+66,293-29,491llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+25,754-24,794llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+24,655-20,149llvm/test/CodeGen/RISCV/clmul.ll
+23,631-20,343llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+21,843-18,635llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+246,475-191,79016,528 files not shown
+1,740,415-954,77216,534 files

LLVM/project 7071febclang/include/clang/Basic HLSLIntrinsics.td, clang/lib/Headers/hlsl hlsl_alias_intrinsics.h

[HLSL] Rewrite HLSL alias intrinsics into TableGen (#188814)

This PR will close issue
https://github.com/llvm/llvm-project/issues/188345 after PR
https://github.com/llvm/llvm-project/pull/188362.

This PR rewrites all applicable alias intrinsics from
`hlsl_alias_intrinsics.h` into TableGen (`HLSLIntrinsics.td`).

There are no significant test changes with this PR.

The generated `hlsl_alias_intrinsics_gen.h` can be seen here:
https://gist.github.com/Icohedron/5b9ed2638da0966e3c7514dcb5095197

The generated `hlsl_inline_intrinsics_gen.h` is the same as in
https://github.com/llvm/llvm-project/pull/188362 since this PR does not
add or modify any inline intrinsics definitions.

Assisted-by: GitHub Copilot
DeltaFile
+1-3,873clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+1,196-5clang/include/clang/Basic/HLSLIntrinsics.td
+6-6clang/test/SemaHLSL/BuiltIns/cross-errors.hlsl
+2-2clang/test/SemaHLSL/BuiltIns/f16tof32-errors.hlsl
+2-2clang/test/SemaHLSL/BuiltIns/f32tof16-errors.hlsl
+1-1clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
+1,208-3,8896 files

LLVM/project 59b1515llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp SelectionDAGBuilder.cpp

[SelectionDAG] Fix typo Chian->Chain. NFC (#190874)
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+1-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+2-22 files

FreeBSD/ports 496f1d4misc/claude-code Makefile pkg-plist, misc/claude-code/files audio-capture-fetch.sh

misc/claude-code: Add FreeBSD native audio-capture NodeJS module

... instead of bundled ones for other systems.
DeltaFile
+80-0misc/claude-code/files/audio-capture-fetch.sh
+64-8misc/claude-code/Makefile
+1-6misc/claude-code/pkg-plist
+2-0misc/claude-code/distinfo
+147-144 files

FreeBSD/ports c61790dgraphics Makefile, graphics/py-olmocr Makefile pkg-descr

graphics/py-olmocr: New port: PDF and image OCR toolkit using visual language models
DeltaFile
+54-0graphics/py-olmocr/files/patch-olmocr_pipeline.py
+47-0graphics/py-olmocr/Makefile
+13-0graphics/py-olmocr/files/patch-pyproject.toml
+10-0graphics/py-olmocr/pkg-descr
+3-0graphics/py-olmocr/distinfo
+1-0graphics/Makefile
+128-06 files

FreeBSD/ports d274ad4devel Makefile, devel/py-uuid6 Makefile pkg-descr

devel/py-uuid6: New port: New time-based UUID formats suited for use as a database key
DeltaFile
+22-0devel/py-uuid6/Makefile
+4-0devel/py-uuid6/pkg-descr
+3-0devel/py-uuid6/distinfo
+1-0devel/Makefile
+30-04 files

FreeBSD/ports b650f87misc/github-copilot-cli Makefile

misc/github-copilot-cli: Lock fetch to prevent conflicts between flavors
DeltaFile
+16-12misc/github-copilot-cli/Makefile
+16-121 files

LLVM/project 9c28811llvm/tools/llvm-profgen ProfiledBinary.cpp

format

Created using spr 1.3.4
DeltaFile
+2-2llvm/tools/llvm-profgen/ProfiledBinary.cpp
+2-21 files

LLVM/project d17f2eellvm/test/tools/llvm-profgen/Inputs buildid-cs-noprobe.aggperfscript buildid-noprobe.perfscript, llvm/tools/llvm-profgen ProfiledBinary.cpp PerfReader.cpp

drop 0x from call stack

Created using spr 1.3.4
DeltaFile
+5-5llvm/test/tools/llvm-profgen/Inputs/buildid-cs-noprobe.aggperfscript
+4-2llvm/tools/llvm-profgen/ProfiledBinary.cpp
+3-3llvm/test/tools/llvm-profgen/Inputs/buildid-noprobe.perfscript
+2-2llvm/tools/llvm-profgen/PerfReader.cpp
+14-124 files

LLVM/project 5bc82b7llvm/tools/llvm-profgen ProfiledBinary.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+4-2llvm/tools/llvm-profgen/ProfiledBinary.cpp
+4-21 files

LLVM/project fc47c47llvm/tools/llvm-profgen ProfiledBinary.cpp

use magic

Created using spr 1.3.4
DeltaFile
+4-2llvm/tools/llvm-profgen/ProfiledBinary.cpp
+4-21 files

LLVM/project 55a041bllvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis Banerjee.ll Constraints.ll

[DA] Move no-wrap flag check into checkSubscript (#190770)

Recent patches added no-wrap flag checks to each dependence test (except
for the Banerjee MIV test) to make them sound. These fixes have been
applied one by one to ensure that each dependence test was correctly
updated and the defects were properly addressed. However, ideally, these
functions should not be called at all when the required no-wrap flags
are not set. Specifically, `classifyPair` should tag pairs as
`NonLinear` when either addrec doesn't have the no-wrap flag, which
means that the addrec is as literal non-linear.
This patch moves the existing no-wrap flag checks in the each dependence
test to `checkSubscript`, which is called by `classifyPair`. With this
change, if the addrec doesn't have the no-wrap flag, the pair will be
classified as `NonLinear` and the dependence test will not be invoked at
all. I believe this change makes the code cleaner and consistent with
the meaning of `NonLinear` classification.
Note that this patch doesn't take care of the behavioral change caused
by the Benerjee MIV test, as the test is still not sound and there are
no plans to fix it in the near future.
DeltaFile
+22-22llvm/test/Analysis/DependenceAnalysis/Banerjee.ll
+20-20llvm/test/Analysis/DependenceAnalysis/Constraints.ll
+13-13llvm/test/Analysis/DependenceAnalysis/Propagating.ll
+7-12llvm/lib/Analysis/DependenceAnalysis.cpp
+1-8llvm/test/Transforms/LoopInterchange/large-nested-6d.ll
+2-2llvm/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll
+65-774 files not shown
+71-8310 files

LLVM/project e06b761llvm/test/tools/llvm-profgen filter-build-id.test, llvm/test/tools/llvm-profgen/Inputs buildid-cs-noprobe.aggperfscript buildid-noprobe.perfscript

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+88-16llvm/tools/llvm-profgen/PerfReader.cpp
+53-0llvm/test/tools/llvm-profgen/filter-build-id.test
+13-0llvm/tools/llvm-profgen/ProfiledBinary.cpp
+11-0llvm/test/tools/llvm-profgen/Inputs/buildid-cs-noprobe.aggperfscript
+9-0llvm/tools/llvm-profgen/ProfiledBinary.h
+5-0llvm/test/tools/llvm-profgen/Inputs/buildid-noprobe.perfscript
+179-166 files

LLVM/project dbb666allvm/tools/llvm-profgen ProfiledBinary.cpp ProfiledBinary.h

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.4

[skip ci]
DeltaFile
+13-0llvm/tools/llvm-profgen/ProfiledBinary.cpp
+9-0llvm/tools/llvm-profgen/ProfiledBinary.h
+22-02 files

LLVM/project ee035bcllvm/tools/llvm-profgen ProfiledBinary.cpp ProfiledBinary.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+13-0llvm/tools/llvm-profgen/ProfiledBinary.cpp
+9-0llvm/tools/llvm-profgen/ProfiledBinary.h
+22-02 files

LLVM/project 0f16b90llvm/lib/Target/RISCV RISCVInstrInfo.cpp RISCVInstrInfoZvdot4a8i.td, llvm/test/CodeGen/RISCV/rvv commutable-zvdot4a8i.ll

[RISCV] Add isCommutable for VDOTA4 and VDOTA4U (#190090)

Mark PseudoVDOTA4_VV and PseudoVDOTA4U_VV as commutable since both
source operands have the same signedness. VDOTA4SU is left
non-commutable because its operands differ in signedness (signed x
unsigned).

Add findCommutedOpIndices cases for the new commutable pseudos and
a test covering commutable and non-commutable dot product variants.

---------

Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+126-0llvm/test/CodeGen/RISCV/rvv/commutable-zvdot4a8i.ll
+10-0llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+4-5llvm/lib/Target/RISCV/RISCVInstrInfoZvdot4a8i.td
+140-53 files

LLVM/project d3b8b18llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 cond-loop.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+15-0llvm/test/CodeGen/X86/cond-loop.ll
+5-4llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+20-42 files

LLVM/project e33ae32.github/workflows release-llvm-testing-tools.yml

fix package upload

Created using spr 1.3.7
DeltaFile
+1-1.github/workflows/release-llvm-testing-tools.yml
+1-11 files

LLVM/project 4d18039llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoXqci.td, llvm/test/CodeGen/RISCV xqciac.ll

[RISCV] Lower (select c, y, 0) -> (qc.muliadd c, y-1) (#190323)

This can be compressed in some cases so prefer `QC_MULIADD` to
`QC_SHLADD`.
DeltaFile
+88-2llvm/test/CodeGen/RISCV/xqciac.ll
+8-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+8-0llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td
+104-33 files

LLVM/project f0bb7ae.github/workflows release-llvm-testing-tools.yml

no ubuntu

Created using spr 1.3.7
DeltaFile
+1-2.github/workflows/release-llvm-testing-tools.yml
+1-21 files

LLVM/project 3e0e255llvm/docs AMDGPUUsage.rst, llvm/include/llvm/IR IntrinsicsAMDGPU.td

[AMDGPU] Add a sched group mask for LDSDMA instructions

The existing VMEM masks are not fine-grained enough for some use cases. For
example, if users want to control async loads, using VMEM may cause the compiler
to pick instructions it shouldn't.

This PR adds a new sched group mask for LDSDMA instructions. It is a subclass of
VMEM, but only targets isLDSDMA instructions.
DeltaFile
+342-0llvm/test/CodeGen/AMDGPU/sched-ldsdma-mask.mir
+21-21llvm/test/CodeGen/AMDGPU/sched.barrier.inverted.mask.ll
+14-6llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
+2-0llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+1-0llvm/docs/AMDGPUUsage.rst
+380-275 files

LLVM/project 4a26972.github/workflows release-llvm-testing-tools.yml

actual windows fix

Created using spr 1.3.7
DeltaFile
+1-3.github/workflows/release-llvm-testing-tools.yml
+1-31 files

LLVM/project 1ad91bellvm/lib/CodeGen TwoAddressInstructionPass.cpp, llvm/test/CodeGen/X86 two-address-subreg-to-reg-kill.mir mul-lohi-no-implicit-copy.ll

[CodeGen] relax kill copy hoist restriction for vreg to phys reg copies with folded loads (#190304)

Resolves: https://github.com/llvm/llvm-project/issues/62452

Currently, `TwoAddressInstructionPass` has a blanket rule against moving
kill copies, since many copies are better handled later by coalescing.
However, that rule is too strict when the kill is a virtual register to
physical register copy and the current two-address instruction has a
folded load. In that case, keeping the copy in place can force the pass
to break the folded rm form into a mov rm + op rr, even though the
physical register copy itself cannot be coalesced away in the usual
sense.

This fixes a missed optimization where a folded IMUL64rm was rewritten
into MOV64rm + IMUL64rr because a later $rax = COPY %src was kept in
place for mul.
DeltaFile
+108-0llvm/test/CodeGen/X86/two-address-subreg-to-reg-kill.mir
+42-0llvm/test/CodeGen/X86/mul-lohi-no-implicit-copy.ll
+19-2llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+5-5llvm/test/CodeGen/X86/pr78897.ll
+5-5llvm/test/CodeGen/X86/tailcallstack64.ll
+5-5llvm/test/CodeGen/X86/tailccstack64.ll
+184-176 files

LLVM/project 69ede61.github/workflows release-llvm-testing-tools.yml

windows fix

Created using spr 1.3.7
DeltaFile
+2-2.github/workflows/release-llvm-testing-tools.yml
+2-21 files

LLVM/project a8d7b7b.github/workflows release-llvm-testing-tools.yml

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+46-0.github/workflows/release-llvm-testing-tools.yml
+46-01 files

LLVM/project f9c7f22.github/workflows release-llvm-testing-tools.yml

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+43-0.github/workflows/release-llvm-testing-tools.yml
+43-01 files

LLVM/project 37c6cfellvm/lib/Target/AMDGPU AMDGPURegisterBankInfo.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU s-buffer-load-mmo-offsets.ll

[AMDGPU] Fix incorrect MachineMemOperand offsets and sizes in wide s_buffer_load splits (#189890)

When G_AMDGPU_S_BUFFER_LOAD (or its SelectionDAG equivalent) falls back
to MUBUF due to a divergent offset, wide loads (256-bit, 512-bit) are
split into multiple 128-bit chunks. Both code paths that perform this
split had bugs in how they annotated MachineMemOperand (MMO) metadata on
each chunk instruction — reporting wrong offsets and wrong sizes. This
does not affect generated assembly correctness but degrades the analysis
if that MMO metadata is used.

---------

Co-authored-by: Abhinav Garg <abhigarg at amd.com>
Co-authored-by: Jay Foad <jay.foad at gmail.com>
DeltaFile
+68-790llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
+80-80llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
+99-0llvm/test/CodeGen/AMDGPU/s-buffer-load-mmo-offsets.ll
+2-3llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
+3-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+252-8745 files