LLVM/project 8a544b4llvm/include/llvm/IR Intrinsics.td, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[RFC][CodeGen] Add generic target feature checks for intrinsics

This PR adds target-independent infrastructure for annotating LLVM intrinsics
with required subtarget feature expressions.

It introduces a TargetFeatures string field to intrinsic TableGen records.
TableGen emits an intrinsic-to-feature mapping table.

Both SelectionDAG and GlobalISel now perform this check before lowering target
intrinsics. This allows targets to opt in by annotating intrinsic definitions
directly, rather than adding custom checks during lowering, legalization, or
instruction selection.

This PR uses one AMDGPU intrinsic as an example.
DeltaFile
+92-0llvm/lib/MC/MCSubtargetInfo.cpp
+51-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+33-1llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
+28-0llvm/test/TableGen/intrinsic-target-features.td
+24-0llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+13-0llvm/include/llvm/IR/Intrinsics.td
+241-110 files not shown
+288-616 files

LLVM/project 9316fe9llvm/test/CodeGen/AMDGPU amdgpu-codegenprepare-idiv.ll

[AMDGPU][NFC] Generate opt checks with script (#203926)

Update testcase so that opt checks are generated with
update_test_checks.py.

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+600-397llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
+600-3971 files

LLVM/project 03cfa6fopenmp/runtime/src kmp_adt.h, openmp/runtime/unittests/ADT TestVector.cpp CMakeLists.txt

[libomp] Add kmp_vector (ADT 2/2)

See rationale in the commit adding kmp_str_ref.

This commit introduces kmp_vector, a class intended primarily for small
vectors. It currently only includes methods I need at the moment, but
it's easily extensible.
DeltaFile
+627-0openmp/runtime/unittests/ADT/TestVector.cpp
+196-0openmp/runtime/src/kmp_adt.h
+1-0openmp/runtime/unittests/ADT/CMakeLists.txt
+824-03 files

FreeNAS/freenas 8bbfe6dsrc/middlewared_docs changelog.py test_changelog.py

ruff format
DeltaFile
+87-23src/middlewared_docs/changelog.py
+76-32src/middlewared_docs/test_changelog.py
+163-552 files

LLVM/project 862d176llvm/lib/Target/AMDGPU GCNVOPDUtils.cpp VOP3PInstructions.td, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

AMDGPU: Reland: Codegen for v_dual_dot2acc_f32_f16/bf16 from VOP3

For V_DOT2_F32_F16 and V_DOT2_F32_BF16 add their VOPDName and mark
them with usesCustomInserter which will be used to add pre-RA register
allocation hints to preferably assign dst and src2 to the same physical
register. When the hint is satisfied, canMapVOP3PToVOPD recognises the
instruction as eligible for VOPD pairing by checking if it is VOP2 like:
dst==src2, no source modifiers, no clamp, and src1 is a register.
Mark both instructions as commutable to allow a literal in src1 to be
moved to src0, since VOPD only permits a literal in src0.

Original patch had a bug where it did not check if physical src
registers match register class of appropriate operand in fullVOPD
instructions, check is now done via isValidVOPDSrc.
DeltaFile
+442-520llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+166-69llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+34-1llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+8-5llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+8-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+6-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+664-5951 files not shown
+666-5977 files

LLVM/project d14b908lld/test/ELF aarch64-long-thunk-converge.s aarch64-thunk-reuse2.s

[AArch64][LLD] Update tests to reduce file size [NFC] (#202547)

Remove large object and executable files after running test. Some tests
need to run within a single OutputSection and cannot use a Linker Script
to increase distance without a large object and corresponding executable
file.

Fixes AArch64 part of #202261
DeltaFile
+7-7lld/test/ELF/aarch64-long-thunk-converge.s
+1-0lld/test/ELF/aarch64-thunk-reuse2.s
+1-0lld/test/ELF/aarch64-cortex-a53-843419-thunk-relocation-crash.s
+9-73 files

LLVM/project dd05657lld/test/ELF arm-thunk-largesection.s arm-thunk-nosuitable.s

[ARM][LLD] Remove large files at end of test [NFC] (#202548)

Some range extension and erratum fix thunks can't easily use a linker
script to make gaps that don't result in a large output. Explicitly
remove the large object and linker output files to reduce storage usage.

Related to #202261
DeltaFile
+2-0lld/test/ELF/arm-thunk-largesection.s
+2-0lld/test/ELF/arm-thunk-nosuitable.s
+2-0lld/test/ELF/arm-thunk-section-too-large.s
+2-0lld/test/ELF/arm-thunk-toolargesection.s
+2-0lld/test/ELF/arm-fix-cortex-a8-toolarge.s
+2-0lld/test/ELF/arm-thunk-multipass-plt.s
+12-09 files not shown
+21-015 files

LLVM/project 9e0508dlld/test/ELF arm-thunk-linkerscript-dotexpr.s arm-thumb-thunk-v6m.s

[ARM][LLD] Reduce thunk test case size, linkerscript changes [NFC] (#202549)

These changes either do some refactoring to use split-file and then
delete the outputs as the size saving is not large. Or it adapts the
linker script to reduce the size by introducing sparse program segments.

All these cases are fairly simple changes, and have made minimal changes
to the CHECK lines.

Related to #202261
DeltaFile
+27-15lld/test/ELF/arm-thunk-linkerscript-dotexpr.s
+22-10lld/test/ELF/arm-thumb-thunk-v6m.s
+19-13lld/test/ELF/arm-thunk-linkerscript-large.s
+17-13lld/test/ELF/arm-thunk-linkerscript.s
+17-9lld/test/ELF/arm-fix-cortex-a8-thunk.s
+14-9lld/test/ELF/arm-thunk-many-passes.s
+116-696 files not shown
+185-10812 files

LLVM/project cd2b669llvm/lib/Target/SPIRV SPIRVUtils.h SPIRVUtils.cpp

[SPIR-V] Take ArrayRef instead of owning containers in selection helpers (NFC) (#203908)

Avoid per call heap allocations where call sites pass braced list
temporaries
DeltaFile
+4-8llvm/lib/Target/SPIRV/SPIRVUtils.h
+5-7llvm/lib/Target/SPIRV/SPIRVUtils.cpp
+3-5llvm/lib/Target/SPIRV/SPIRVCombinerHelper.cpp
+4-4llvm/lib/Target/SPIRV/SPIRVCombinerHelper.h
+3-3llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+2-1llvm/lib/Target/SPIRV/SPIRVCommandLine.h
+21-281 files not shown
+22-297 files

LLVM/project bcae138llvm/lib/Target/AMDGPU GCNSchedStrategy.cpp

Format

Change-Id: I395a6d065e9b843d4dc33ee75786adbf7e03d9fc
DeltaFile
+9-12llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+9-121 files

LLVM/project b79e696clang/test/AST/ByteCode dynamic-cast.cpp, lldb/include/lldb lldb-enumerations.h

Merge branch 'users/kparzysz/m01-misparsed-call' into users/kparzysz/m02-locator-frontend
DeltaFile
+464-793llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
+1,079-0llvm/test/CodeGen/AMDGPU/usubsat.ll
+422-323lldb/include/lldb/lldb-enumerations.h
+736-0openmp/runtime/unittests/ADT/TestStringRef.cpp
+339-2llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+296-0clang/test/AST/ByteCode/dynamic-cast.cpp
+3,336-1,118164 files not shown
+5,819-1,984170 files

LLVM/project 62f85declang/test/AST/ByteCode dynamic-cast.cpp, lldb/include/lldb lldb-enumerations.h

Merge branch 'main' into users/kparzysz/m01-misparsed-call
DeltaFile
+464-793llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
+1,079-0llvm/test/CodeGen/AMDGPU/usubsat.ll
+422-323lldb/include/lldb/lldb-enumerations.h
+736-0openmp/runtime/unittests/ADT/TestStringRef.cpp
+339-2llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+296-0clang/test/AST/ByteCode/dynamic-cast.cpp
+3,336-1,118164 files not shown
+5,819-1,984170 files

FreeNAS/freenas 1f200easrc/middlewared_docs test_changelog.py changelog.py

ruff format
DeltaFile
+47-30src/middlewared_docs/test_changelog.py
+4-4src/middlewared_docs/changelog.py
+51-342 files

NetBSD/pkgsrc-wip 5484e4eresterm distinfo go-modules.mk, resterm/patches patch-go.sum patch-go.mod

resterm: haking with cz.nic library which support NetBSD -> modernc.org/sqlite v1.52.1-0.20260614085003-e62c32f2abc6
DeltaFile
+32-32resterm/distinfo
+10-10resterm/go-modules.mk
+3-6resterm/patches/patch-go.sum
+2-5resterm/patches/patch-go.mod
+5-0resterm/Makefile
+52-535 files

LLVM/project 1df0924

Restart build
DeltaFile
+0-00 files

LLVM/project a5ffec8llvm/lib/Target/AMDGPU GCNVOPDUtils.cpp

AMDGPU: Validate VOPD/VOPD3 physical source registers against operand RC

Replace isVGPR checks with isValidVOPDSrc that validates physical source
registers against the actual combined VOPD/VOPD3 instruction's operand
register classes. Now we also validate operands for VOPD instructions.
DeltaFile
+40-7llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+40-71 files

LLVM/project 16391bfllvm/lib/Target/AMDGPU GCNVOPDUtils.cpp

AMDGPU: Refactor checkVOPDRegConstraints
DeltaFile
+28-41llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+28-411 files

LLVM/project bce11d3llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU packed-fp64.ll

AMDGPU/GlobalISel: RegBankLegalize rules for pk_f64 fadd, fmul and fma
DeltaFile
+323-38llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+6-2llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+329-402 files

LLVM/project d4ca116lldb/include/lldb lldb-enumerations.h

[lldb] Reformat doxygen comments in lldb-enumerations.h (NFC) (#203079)

Convert doxygen comments to precede the enumerator to which they apply
(using `///`). This placement of documentation is more consistent with
how functions and classes are documented. Additionally, with the column
limit, the documentation was quite crammed as it was. Lastly, comments
have been reflowed, so that make full use of horizontal space.

Assisted-by: claude
DeltaFile
+422-323lldb/include/lldb/lldb-enumerations.h
+422-3231 files

LLVM/project ae80984llvm/lib/Target/AMDGPU GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU vgpr-excess-threshold-percent.ll vgpr-excess-threshold-percent-invalid.ll

Review comments + change handling of VGPRCriticalLimit

Change-Id: I9aabbf6e40ad59e78fddae46c6a773630f6c54b6
DeltaFile
+67-67llvm/test/CodeGen/AMDGPU/vgpr-excess-threshold-percent.ll
+14-16llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+5-5llvm/test/CodeGen/AMDGPU/vgpr-excess-threshold-percent-invalid.ll
+86-883 files

FreeBSD/src 3b69c72sys/netinet udp_usrreq.c

udp: Wrap a long line in udp_send()

No functional change intended.

MFC after:      1 week
DeltaFile
+2-1sys/netinet/udp_usrreq.c
+2-11 files

FreeBSD/ports 67dae66comms/cubicsdr Makefile, devel/electron37 Makefile

*: Fix dependency on Mesa after pkg-plist reshuffling
DeltaFile
+3-2x11-servers/xorg-server/Makefile
+1-1devel/electron39/Makefile
+1-1comms/cubicsdr/Makefile
+1-1devel/electron37/Makefile
+1-1devel/electron38/Makefile
+1-1devel/electron40/Makefile
+8-77 files not shown
+15-1413 files

FreeBSD/ports 21c2254graphics/mesa-demos pkg-plist Makefile

graphics/mesa-demos: Update to 9.0.0

PR:             294957
DeltaFile
+6-12graphics/mesa-demos/pkg-plist
+10-4graphics/mesa-demos/Makefile
+3-3graphics/mesa-demos/distinfo
+19-193 files

FreeBSD/ports 823c5a8graphics/mesa-dri pkg-plist Makefile, graphics/mesa-dri/files patch-userptr patch-src_vulkan_wsi_wsi__common__wayland.c

graphics/mesa-{dri,libs}: Update to 26.0.6

PR:             294957
Co-authored-by: Gleb Popov <arrowd at FreeBSD.org>
DeltaFile
+100-0graphics/mesa-dri/files/patch-userptr
+50-17graphics/mesa-dri/pkg-plist
+21-0graphics/mesa-dri/files/patch-src_vulkan_wsi_wsi__common__wayland.c
+8-12graphics/mesa-dri/Makefile
+11-0graphics/mesa-dri/files/patch-src_vulkan_vram-report-limit-layer_vram__report__limit__layer.c
+4-5graphics/mesa-dri/files/patch-src_intel_common_xe_intel__gem.c
+194-345 files not shown
+206-4411 files

FreeBSD/ports 672021e. MOVED, graphics/mesa-dri Makefile.common

lang/clover: remove port
DeltaFile
+0-67lang/clover/Makefile
+0-7lang/clover/pkg-plist
+0-2lang/clover/pkg-descr
+0-1graphics/mesa-dri/Makefile.common
+1-0MOVED
+0-1lang/Makefile
+1-786 files

FreeBSD/ports fa1a7cdx11-drivers/xlibre-xf86-video-vmware Makefile

x11-drivers/xlibre-xf86-video-vmware: Stop depending on deprecated mesa-gallium-xa
DeltaFile
+2-3x11-drivers/xlibre-xf86-video-vmware/Makefile
+2-31 files

FreeBSD/ports 0167ebfx11-drivers/xf86-video-vmware Makefile distinfo, x11-drivers/xf86-video-vmware/files patch-vmwgfx_vmwgfx__dri2.c

x11-drivers/xf86-video-vmware: Update to 13.4.0
DeltaFile
+22-34x11-drivers/xf86-video-vmware/files/patch-vmwgfx_vmwgfx__dri2.c
+3-6x11-drivers/xf86-video-vmware/Makefile
+3-3x11-drivers/xf86-video-vmware/distinfo
+28-433 files

FreeBSD/ports 7e52cd8. MOVED, graphics Makefile

graphics/mesa-gallium-xa: remove port
DeltaFile
+0-53graphics/mesa-gallium-xa/Makefile
+0-8graphics/mesa-gallium-xa/pkg-plist
+0-7graphics/mesa-gallium-xa/pkg-descr
+0-1graphics/Makefile
+1-0MOVED
+1-695 files

FreeBSD/ports 39aeda3. MOVED, graphics Makefile

graphics/libosmesa: remove port
DeltaFile
+0-59graphics/libosmesa/Makefile
+0-13graphics/libosmesa/pkg-plist
+0-10graphics/libosmesa/pkg-descr
+0-3graphics/mesa-dri/Makefile.common
+0-1graphics/Makefile
+1-0MOVED
+1-866 files

FreeBSD/doc ab75143website/archetypes/release readme.adoc, website/content/en/releases/13.2R readme.adoc

fix type in release documentation

maintainance to maintenance

Approved by: re (implicit)
DeltaFile
+2-2website/content/en/releases/13.3R/readme.adoc
+2-2website/content/en/releases/14.0R/readme.adoc
+2-2website/content/en/releases/13.2R/readme.adoc
+1-1website/archetypes/release/readme.adoc
+1-1website/content/en/releases/13.4R/readme.adoc
+1-1website/content/en/releases/13.5R/readme.adoc
+9-96 files not shown
+15-1512 files