LLVM/project 1ffd509llvm/utils/TableGen/Common/GlobalISel/MatchTable Matchers.cpp Matchers.h

[TableGen][GISel] Fix Matcher Creation for C++23 libc++ (#209783)

libc++ in C++23 mode evaluates make_unique eagerly, which requires
InstructionMatcher to be defined at the constexpr call to make_unique.
Currently, it's defined later in the file.

This patch moves the call to make_unique to the C++ file so that
InstructionMatcher is fully defined at time of instantiation.
DeltaFile
+7-0llvm/utils/TableGen/Common/GlobalISel/MatchTable/Matchers.cpp
+1-4llvm/utils/TableGen/Common/GlobalISel/MatchTable/Matchers.h
+8-42 files

FreeBSD/src 664ad9asys/dev/acpica acpi_cpu.c

acpi_cpu(4): Call ACPI_GET_FEATURES() on a reset 'features' variable

This is to prevent child drivers from using the features returned by
previous drivers (in an arbitrary order).  None of the existing ones do
that, so this is purely defensive.

MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-1sys/dev/acpica/acpi_cpu.c
+2-11 files

LLVM/project bfcea5dllvm/test/Transforms/LoopVectorize/VPlan expand-scev.ll

[VPlan] Add VPlan print test for expanding SCEV with AddRec (NFC). (#209886)
DeltaFile
+40-0llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll
+40-01 files

LLVM/project 1959918clang/test/CIR/CodeGenBuiltins builtin-call.cpp, clang/test/CIR/CodeGenHLSL matrix-element-expr-load.hlsl

[CIR] Fix a pair of CIR Build failures: (#209896)

HLSL added a bunch of diagnostics for entry functions that messed with
the matrix test, see here:
https://github.com/llvm/llvm-project/pull/184892/

The solution is to just mark the test as a library triple.

Builtin-trap stopped translating in classic codegen, so the call after
it is now missing (and there is an unreachable after it),w hich actually
better matches our behavior see:
https://github.com/llvm/llvm-project/pull/197789

This patch fixes both tests.
DeltaFile
+2-3clang/test/CIR/CodeGenBuiltins/builtin-call.cpp
+1-1clang/test/CIR/CodeGenHLSL/matrix-element-expr-load.hlsl
+3-42 files

LLVM/project b1cf1e5llvm/lib/IR Globals.cpp, llvm/lib/Transforms/IPO LowerTypeTests.cpp FunctionImport.cpp

[NFC] rename `MD_unique_id` to `MD_guid` for consistency (#209880)
DeltaFile
+4-4llvm/lib/IR/Globals.cpp
+3-3llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+3-3llvm/lib/Transforms/IPO/FunctionImport.cpp
+2-2llvm/lib/Transforms/Utils/CloneModule.cpp
+2-2llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+1-1llvm/lib/Transforms/Utils/AssignGUID.cpp
+15-151 files not shown
+16-167 files

LLVM/project 22f24b3lld/docs WebAssembly.md conf.py, lld/docs/ELF warn_backrefs.md

[docs] Finish MyST migration for selected docs
DeltaFile
+89-126lld/docs/WebAssembly.md
+20-0lld/docs/conf.py
+9-10lld/docs/ELF/warn_backrefs.md
+7-11lld/docs/index.md
+0-15lld/docs/windows_support.md
+7-6lld/docs/ReleaseNotes.md
+132-1682 files not shown
+141-1778 files

FreeBSD/src fed4979sys/kern sys_process.c

kern/sys_process.c: remove extra ()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+1-1sys/kern/sys_process.c
+1-11 files

LLVM/project 896918alld/docs WebAssembly.md windows_support.md, lld/docs/ELF linker_script.md warn_backrefs.md

[docs] Convert selected rst docs with rst2myst
DeltaFile
+124-136lld/docs/ELF/linker_script.md
+101-74lld/docs/WebAssembly.md
+57-55lld/docs/ELF/warn_backrefs.md
+59-50lld/docs/windows_support.md
+47-57lld/docs/index.md
+44-52lld/docs/NewLLD.md
+432-4248 files not shown
+657-66214 files

LLVM/project c6c10d4lld/docs NewLLD.md NewLLD.rst, lld/docs/ELF linker_script.md linker_script.rst

[docs] Rename LLD docs to Markdown
DeltaFile
+317-0lld/docs/NewLLD.md
+0-317lld/docs/NewLLD.rst
+268-0lld/docs/ELF/linker_script.md
+0-268lld/docs/ELF/linker_script.rst
+264-0lld/docs/WebAssembly.md
+0-264lld/docs/WebAssembly.rst
+849-84922 files not shown
+1,695-1,69528 files

LLVM/project 1514df3clang/docs DebuggingCoroutines.md BoundsSafety.md

[docs] Rewrite selected Clang docs to Markdown (#209283)

Tracking issue: https://github.com/llvm/llvm-project/issues/201242
Migration guide docs:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
RFC:
https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840

This was prepared with rst2myst plus LLM-assisted cleanup. I paged
through all the generated HTML looking for migration artifacts, and all
of the differences I could find appear to be formatting error
corrections.

I noticed that there is a large block of literal rst text in APINotes.md, but I will defer that for later cleanup.
DeltaFile
+830-855clang/docs/DebuggingCoroutines.md
+550-585clang/docs/BoundsSafety.md
+305-322clang/docs/LibClang.md
+148-171clang/docs/ControlFlowIntegrity.md
+129-142clang/docs/LibTooling.md
+122-143clang/docs/ClangPlugins.md
+2,084-2,21814 files not shown
+2,758-2,99120 files

NetBSD/src XHNHa86sys/dev/pci veritefb.c verite3dio.h

   Add support for experimental Rendition Verite 3D acceleration interface.

   This allow userland process to load 3D firmware (like v2000gl.uc) and
   execute it on the chip's RISC CPU. It also provides the necessary support
   infrastructure like basic VRAM accounting and ability to feed commands
   and data through DMA.

   In conjuction with customized userland Mesa, this allows OpenGL 1.x
   workloads to run accelerated on the Verite.

   While here, add related debugging facilities.
VersionDeltaFile
1.2+1,340-58sys/dev/pci/veritefb.c
1.1+103-0sys/dev/pci/verite3dio.h
1.2+90-4sys/dev/pci/veritefbio.h
1.2+14-4sys/dev/pci/veritefb_ucode.h
1.2+11-1sys/dev/pci/veritefbreg.h
+1,558-675 files

LLVM/project 4241fdaclang/docs DebuggingCoroutines.md BoundsSafety.md

[docs] Convert selected rst docs with rst2myst
DeltaFile
+830-855clang/docs/DebuggingCoroutines.md
+548-582clang/docs/BoundsSafety.md
+309-320clang/docs/LibClang.md
+148-170clang/docs/ControlFlowIntegrity.md
+130-142clang/docs/LibTooling.md
+122-142clang/docs/ClangPlugins.md
+2,087-2,21114 files not shown
+2,775-2,97220 files

LLVM/project 6a4a95cclang/docs AMDGPUSupport.md ClangPlugins.md

[docs] Finish MyST migration for selected docs
DeltaFile
+15-54clang/docs/AMDGPUSupport.md
+24-25clang/docs/ClangPlugins.md
+26-17clang/docs/APINotes.md
+16-17clang/docs/ControlFlowIntegrity.md
+11-12clang/docs/BoundsSafety.md
+7-3clang/docs/AllocToken.md
+99-1282 files not shown
+100-1368 files

LLVM/project cf293b0clang/docs DebuggingCoroutines.md DebuggingCoroutines.rst

[docs] Rename selected Clang docs to Markdown (#209281)

Tracking issue: https://github.com/llvm/llvm-project/issues/201242
Migration guide docs:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
RFC:
https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840

This is the initial straight rename commit. It will probably break the
docs build, but it has to be a separate PR for blame preservation
purposes.
DeltaFile
+1,295-0clang/docs/DebuggingCoroutines.md
+0-1,295clang/docs/DebuggingCoroutines.rst
+1,007-0clang/docs/BoundsSafety.md
+0-1,007clang/docs/BoundsSafety.rst
+515-0clang/docs/APINotes.md
+0-515clang/docs/APINotes.rst
+2,817-2,81735 files not shown
+5,483-5,48341 files

LLVM/project 2cffd19llvm/lib/Target/PowerPC PPCISelLowering.cpp

[NFC][PowerPC] Delete redundant ISD::TRUNCATE from setTargetDAGCombine (#200902)

there is 

```
setTargetDAGCombine({ISD::TRUNCATE, ISD::VECTOR_SHUFFLE});

  if (Subtarget.useCRBits()) {
    setTargetDAGCombine({ISD::TRUNCATE, ISD::SETCC, ISD::SELECT_CC});  }
```
  
we do not need to set the (ISD::TRUNCATE again when
Subtarget.useCRBits()
DeltaFile
+1-1llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+1-11 files

FreeBSD/ports 1672498cad/tochnog Makefile, cad/tochnog/files patch-makefile patch-tochnog.h

cad/tochnog: fix build

Don’t try to use f2c for compilation, just link with it.

Since I’m here, remove the ATLAS option and switch to openBLAS.

(cherry picked from commit 0e9d10974c9e6d0ff44c5e7e8031026e212468a4)
DeltaFile
+16-15cad/tochnog/files/patch-makefile
+11-19cad/tochnog/Makefile
+14-6cad/tochnog/files/patch-tochnog.h
+6-7cad/tochnog/files/patch-tn.cc
+2-2cad/tochnog/files/patch-tnsuplu.h
+2-2cad/tochnog/files/patch-sysposix.cc
+51-516 files

LLVM/project 1fb802dllvm/lib/Target/WebAssembly WebAssemblySetP2AlignOperands.cpp WebAssemblyFixBrTableDefaults.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+23-7llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
+22-7llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
+20-4llvm/lib/Target/WebAssembly/WebAssembly.h
+6-6llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+4-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+2-2llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+77-266 files

LLVM/project 0fcbe31llvm/lib/Target/WebAssembly WebAssembly.h WebAssemblyCleanCodeAfterTrap.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+30-6llvm/lib/Target/WebAssembly/WebAssembly.h
+23-7llvm/lib/Target/WebAssembly/WebAssemblyCleanCodeAfterTrap.cpp
+23-7llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
+22-7llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
+8-8llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+3-3llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+109-381 files not shown
+115-387 files

LLVM/project 77e9b8cflang/lib/Semantics resolve-names.cpp, flang/test/Lower/CUDA cuda-implicit-managed-alloc.cuf

[flang][cuda] Skip implicit managed/unified attribution for COMMON objects (#209855)

Objects in Fortran `COMMON` blocks may not carry `ATTRIBUTES(MANAGED)`
or `ATTRIBUTES(UNIFIED)`. The implicit attribution added in
[#209292](https://github.com/llvm/llvm-project/pull/209292) did not
account for this, causing a spurious semantic error when a pointer in a
`COMMON` block was implicitly attributed. This change adds a
`!object->commonBlock()` guard to `SetImplicitCUDADataAttr` so that
COMMON members are left unattributed.
DeltaFile
+8-0flang/test/Lower/CUDA/cuda-implicit-managed-alloc.cuf
+2-1flang/lib/Semantics/resolve-names.cpp
+10-12 files

LLVM/project 5564580llvm/lib/Target/WebAssembly WebAssemblySetP2AlignOperands.cpp WebAssemblyFixBrTableDefaults.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+23-7llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
+22-7llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
+20-4llvm/lib/Target/WebAssembly/WebAssembly.h
+6-6llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+4-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+2-2llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+77-266 files

LLVM/project 04348c0llvm/lib/Target/WebAssembly WebAssemblySetP2AlignOperands.cpp WebAssembly.h

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+23-7llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
+10-2llvm/lib/Target/WebAssembly/WebAssembly.h
+3-3llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+2-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+1-1llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+39-135 files

LLVM/project 158661bllvm/test/CodeGen/AMDGPU load-constant-i1.ll, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.image.atomic.dim.a16.ll llvm.amdgcn.image.gather4.a16.dim.ll

[AMDGPU] Upstream True16 runlines for various tests
DeltaFile
+2,559-652llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll
+1,270-764llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+1,177-284llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll
+438-322llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.tfe.ll
+416-303llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.tfe.ll
+322-149llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.2darraymsaa.a16.ll
+6,182-2,47415 files not shown
+7,652-3,07721 files

LLVM/project e8b38f1llvm/test/CodeGen/AMDGPU v_swap_b16.mir schedule-regpressure-ilp-metric-spills.mir

[AMDGPU] Refactor some existing test files with true16/fake16 split, add some new test cases
DeltaFile
+409-0llvm/test/CodeGen/AMDGPU/v_swap_b16.mir
+192-192llvm/test/CodeGen/AMDGPU/schedule-regpressure-ilp-metric-spills.mir
+208-4llvm/test/CodeGen/AMDGPU/llvm.ldexp.ll
+51-52llvm/test/CodeGen/AMDGPU/gfx11-twoaddr-fma.mir
+102-0llvm/test/CodeGen/AMDGPU/gfx11-twoaddr-fma-fake16.mir
+42-18llvm/test/CodeGen/AMDGPU/shrink-true16.mir
+1,004-2663 files not shown
+1,127-2769 files

LLVM/project 2ebd000llvm/test/CodeGen/AMDGPU vector-reduce-mul.ll llvm.amdgcn.cvt.fp8.dpp.ll

[AMDGPU] Clean up check prefixes and regenerate checklines for some tests that were out of date
DeltaFile
+536-264llvm/test/CodeGen/AMDGPU/vector-reduce-mul.ll
+25-25llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.fp8.dpp.ll
+40-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.ll
+40-1llvm/test/CodeGen/AMDGPU/llvm.floor.f16.ll
+37-2llvm/test/CodeGen/AMDGPU/wmma-gfx12-w32-f16-f32-matrix-modifiers.ll
+678-2945 files

LLVM/project 2990c81llvm/test/CodeGen/AMDGPU fadd.f16.ll strict_fsub.f16.ll, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.div.fmas.ll

[AMDGPU] Testing cleanup

Some small cleanup of a few tests in preparation for True16 test upstreaming, synchronizes with cleanups that already happened downstream
DeltaFile
+0-121llvm/test/CodeGen/AMDGPU/fadd.f16.ll
+0-106llvm/test/CodeGen/AMDGPU/strict_fsub.f16.ll
+0-39llvm/test/CodeGen/AMDGPU/llvm.floor.f16.ll
+2-2llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
+2-2684 files

LLVM/project 03e3a62lldb/source/Plugins/LanguageRuntime/CPlusPlus CPPLanguageRuntime.cpp

[lldb] Skip the prologue before reading `this` when stepping into std::function (#209629)

Commit 40152b8 broke CPPLanguageRuntime::GetStepThroughTrampolinePlan by
changing operator() from a multi-line function to a single line
function.

This used to work by accident, because the fallback step-in plan first
advanced past the prologue and the trampoline detection was re-invoked
there with a valid `this`. Once operator() became a one-line inline
definition that intermediate step no longer happened.

Run past the prologue when stopped at the function entry and let the
step-through machinery re-invoke the plan, so the thread plan has a
valid `this` to read from.
DeltaFile
+17-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
+17-01 files

Illumos/gate 7e7a244usr/src/test/zfs-tests/tests/functional/vdev_zaps vdev_zaps_007_pos.ksh

18241 tests: vdev_zaps_007: log_must with > must eval
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at Edgecast.io>
DeltaFile
+3-3usr/src/test/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh
+3-31 files

LLVM/project ebd9690llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp

[msan][NFCI] Add maybe_unused annotation for #209652 (#209878)

Fix compile error for non-assertion builds
(https://lab.llvm.org/buildbot/#/builders/228/builds/4987) after #209652
DeltaFile
+1-1llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+1-11 files

Illumos/gate 6ffc238usr/src/uts/common/fs/zfs zfs_ioctl.c

18207 Fix the integer type in zfs_ioc_userspace_many()
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+8-2usr/src/uts/common/fs/zfs/zfs_ioctl.c
+8-21 files

LLVM/project 2c800f2llvm/include/llvm/IR FixedMetadataKinds.def, llvm/lib/IR Globals.cpp

[NFC] rename `MD_unique_id` to `MD_guid` for consistency
DeltaFile
+4-4llvm/lib/IR/Globals.cpp
+3-3llvm/lib/Transforms/IPO/FunctionImport.cpp
+3-3llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+2-2llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+2-2llvm/lib/Transforms/Utils/CloneModule.cpp
+1-1llvm/include/llvm/IR/FixedMetadataKinds.def
+15-151 files not shown
+16-167 files