LLVM/project 6708414lldb/test/API/tools/lldb-dap/breakpoint TestDAP_setBreakpoints.py TestDAP_logpoints.py

[lldb-dap] Migrate lldb-dap tests in `lldb-dap/breakpoint` (#208166)

migrate breakpointLocations, logpoints, setBreakpoints
exceptionBreakpoints and functionBreakpoints test
DeltaFile
+234-226lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py
+120-185lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_logpoints.py
+88-95lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setFunctionBreakpoints.py
+56-67lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_breakpointLocations.py
+21-13lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setExceptionBreakpoints.py
+519-5865 files

LLVM/project b6059b6llvm/include/llvm/CodeGen TargetSubtargetInfo.h, llvm/lib/CodeGen EarlyIfConversion.cpp

[MCSched] Allow tuning LoadLatency/MispredictPenalty (#203139)

This means an existing scheduling model can be tweaked at runtime to
support an unknown processor rather than adding an entirely new model.

This is done with TargetSubtargetInfo so that specific targets can
override the relevant callbacks and the mechanism can eventually work
with LTO.
DeltaFile
+74-0llvm/test/CodeGen/RISCV/sched-model-mispredict-penalty.ll
+43-0llvm/test/CodeGen/RISCV/sched-model-load-latency.ll
+28-1llvm/lib/Target/RISCV/RISCVSubtarget.cpp
+7-8llvm/lib/CodeGen/EarlyIfConversion.cpp
+12-0llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
+6-5llvm/lib/Target/X86/X86CmovConversion.cpp
+170-1411 files not shown
+191-3117 files

LLVM/project 4b5b614llvm/lib/Target/WebAssembly WebAssemblyFixBrTableDefaults.cpp

rebase

Created using spr 1.3.7
DeltaFile
+1-1llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
+1-11 files

LLVM/project ba2be3foffload/test lit.cfg

[Offload][AMDGPU] Make compiler-rt libs visible (#209849)

Fixed the failure in offload test after
https://github.com/llvm/llvm-project/pull/209765
DeltaFile
+15-1offload/test/lit.cfg
+15-11 files

LLVM/project 18d2b47llvm/include/llvm/MC MCObjectFileInfo.h

[NFC] Remove unused MCObjectFileInfo methods (#209906)
DeltaFile
+0-15llvm/include/llvm/MC/MCObjectFileInfo.h
+0-151 files

LLVM/project 1b5eb9blibc/src/__support freelist_heap.h, libc/src/stdlib malloc_usable_size.h CMakeLists.txt

[libc][baremetal] expose `malloc_usable_size` from freelist heap (#208337)

Expose the `malloc_usable_size` API by reconstruct the `BlockRef` from a
pointer to the head of user payload. The operation is cheap as we only
do a query to the block header to obtain the metadata.

Assisted-by: Gemini based automation tools (human-in-the-loop)
DeltaFile
+26-0libc/src/stdlib/baremetal/malloc_usable_size.cpp
+26-0libc/src/stdlib/malloc_usable_size.h
+20-0libc/test/src/__support/freelist_heap_test.cpp
+11-1libc/src/__support/freelist_heap.h
+10-0libc/src/stdlib/baremetal/CMakeLists.txt
+6-0libc/src/stdlib/CMakeLists.txt
+99-13 files not shown
+102-19 files

LLVM/project f7c4b05flang-rt/lib/runtime cudadevice.f90

[flang][cuda] Add PURE to time intrinsic so it can be used in DO CONCURRENT (#209901)
DeltaFile
+3-3flang-rt/lib/runtime/cudadevice.f90
+3-31 files

LLVM/project 0711ee1lld/docs WebAssembly.md conf.py, lld/docs/ELF warn_backrefs.md

[docs] Finish MyST migration for selected docs
DeltaFile
+89-129lld/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-1712 files not shown
+141-1808 files

LLVM/project e5c19b0bolt/lib/Core BinaryContext.cpp, bolt/test/X86 jump-table-failed-reanalysis.s

[BOLT] Skip function instead of aborting on jump table analysis failure (#206742)

`analyzeJumpTable()` runs twice on a candidate jump table: once from
`analyzeMemoryAt` while the referencing function is being disassembled,
and
again from `populateJumpTables()` after disassembly. The second run is
stricter,
because the check that an entry points at an instruction
(`getInstructionAtOffset`) only fires once the target function reaches
the
`Disassembled` state. A table can therefore be accepted the first time
and
rejected the second -- for instance when an entry lands at an address
with no
instruction (a symbol whose declared size is larger than its
disassembled
extent). `populateJumpTables()` reached `llvm_unreachable("jump table
heuristic
failure")` and aborted in that case.

    [14 lines not shown]
DeltaFile
+51-0bolt/test/X86/jump-table-failed-reanalysis.s
+13-1bolt/lib/Core/BinaryContext.cpp
+64-12 files

LLVM/project c63bfe5flang/include/flang/Support Fortran-features.h, flang/lib/Lower Bridge.cpp

[flang][cuda] Decouple CUFInit from CUDA language features (#209846)

In some cases, we do not want to emit the CUFInit function in the main.
Add a specific language feature for it so we can decouple it.
DeltaFile
+7-0flang/tools/bbc/bbc.cpp
+4-2flang/lib/Lower/Bridge.cpp
+2-1flang/test/Lower/CUDA/cuda-init.cuf
+1-1flang/include/flang/Support/Fortran-features.h
+1-0flang/lib/Support/Fortran-features.cpp
+15-45 files

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

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

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

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

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