LLVM/project d26ff52clang/docs AddressSanitizer.md LanguageExtensions.md

Merge users/rnk/clang-md-1b into markdown-docs
DeltaFile
+13-14clang/docs/AddressSanitizer.md
+9-9clang/docs/LanguageExtensions.md
+9-7clang/docs/FunctionEffectAnalysis.md
+1-2clang/docs/TypeSanitizer.md
+1-2clang/docs/MemorySanitizer.md
+1-1clang/docs/ThreadSanitizer.md
+34-356 files

LLVM/project 5842585clang/docs AddressSanitizer.md LanguageExtensions.md

[docs] Fix clang MyST rendering issues
DeltaFile
+13-14clang/docs/AddressSanitizer.md
+9-9clang/docs/LanguageExtensions.md
+9-7clang/docs/FunctionEffectAnalysis.md
+1-2clang/docs/MemorySanitizer.md
+1-2clang/docs/TypeSanitizer.md
+1-1clang/docs/ThreadSanitizer.md
+34-356 files

LLVM/project cca64aellvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+5-6llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+5-61 files

LLVM/project 2c27fb0clang/include/clang/Basic AArch64CodeGenUtils.h, clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp

[CIR][AArch64] Upstream narrowing-addition NEON builtins (#204989)

Related to https://github.com/llvm/llvm-project/issues/185382

CIR lowering for
- narrowing-addition intrinsics
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#narrowing-addition)

Port tests:
- `clang/test/CodeGen/AArch64/neon_intrinsics.c` to
`clang/test/CodeGen/AArch64/neon/add.c`
DeltaFile
+0-724clang/test/CodeGen/AArch64/neon-intrinsics.c
+596-0clang/test/CodeGen/AArch64/neon/add.c
+51-5clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+5-1clang/include/clang/Basic/AArch64CodeGenUtils.h
+652-7304 files

LLVM/project f1b5bc4llvm/lib/Target/Lanai LanaiCodeGenPassBuilder.cpp LanaiDelaySlotFiller.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+95-0llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+54-25llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+46-24llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp
+39-0llvm/lib/Target/Lanai/LanaiAsmPrinter.h
+36-0llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
+27-8llvm/lib/Target/Lanai/Lanai.h
+297-577 files not shown
+356-6513 files

LLVM/project 3908524llvm/lib/Target/Lanai LanaiDelaySlotFiller.cpp LanaiCodeGenPassBuilder.cpp, llvm/test/CodeGen/Lanai machine-verifier-regression.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+79-40llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+95-0llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+46-24llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp
+39-0llvm/test/CodeGen/Lanai/machine-verifier-regression.ll
+39-0llvm/lib/Target/Lanai/LanaiAsmPrinter.h
+36-0llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
+334-6410 files not shown
+409-8316 files

LLVM/project de41c97llvm/lib/Target/Lanai LanaiCodeGenPassBuilder.cpp LanaiDelaySlotFiller.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+95-0llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+54-25llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+46-24llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp
+39-0llvm/lib/Target/Lanai/LanaiAsmPrinter.h
+36-0llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
+27-8llvm/lib/Target/Lanai/Lanai.h
+297-577 files not shown
+356-6513 files

LLVM/project 6650162llvm/lib/Target/Lanai LanaiCodeGenPassBuilder.cpp LanaiDelaySlotFiller.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+95-0llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+50-25llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+46-24llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp
+39-0llvm/lib/Target/Lanai/LanaiAsmPrinter.h
+36-0llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
+27-8llvm/lib/Target/Lanai/Lanai.h
+293-576 files not shown
+333-6512 files

LLVM/project c08e674clang/docs AddressSanitizer.md MemorySanitizer.md

[docs] Fix sanitizer MyST links
DeltaFile
+13-14clang/docs/AddressSanitizer.md
+1-2clang/docs/MemorySanitizer.md
+1-2clang/docs/TypeSanitizer.md
+1-1clang/docs/ThreadSanitizer.md
+16-194 files

LLVM/project 518bd65clang/docs ReleaseNotes.rst, clang/lib/Driver Driver.cpp

[driver][AIX] Accept '32_64' and 'any' as valid value for OBJECT_MODE (#205180)

If OBJECT_MODE is set to '32_64' or 'any', the driver accepts the
setting silently.
DeltaFile
+32-0clang/test/Driver/aix-object-mode.c
+4-1clang/lib/Driver/Driver.cpp
+2-0clang/docs/ReleaseNotes.rst
+38-13 files

LLVM/project ebe87ballvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Remove unused VPHeaderPHIRecipe::getBackedgeRecipe (NFC) (#206184)

The virtual and its VPWidenInductionRecipe override have no callers.
DeltaFile
+0-13llvm/lib/Transforms/Vectorize/VPlan.h
+0-131 files

LLVM/project 5447d6ellvm/test/Analysis/LoopAccessAnalysis clamped-access-pattern.ll bounded-access-pattern.ll, llvm/test/Transforms/LoopVectorize bounded-load-predicated.ll runtime-check-small-bounded-ranges.ll

[LV] Add range of tests accessing pointers with bounded IVs (NFC). (#205912)

Add a range of tests covering loads/stores with pointers with
bounded/clamped IV accesses, like A[i%2].
DeltaFile
+1,625-0llvm/test/Transforms/LoopVectorize/bounded-load-predicated.ll
+0-1,076llvm/test/Analysis/LoopAccessAnalysis/clamped-access-pattern.ll
+1,076-0llvm/test/Analysis/LoopAccessAnalysis/bounded-access-pattern.ll
+949-0llvm/test/Transforms/LoopVectorize/runtime-check-small-bounded-ranges.ll
+0-949llvm/test/Transforms/LoopVectorize/runtime-check-small-clamped-bounds.ll
+517-0llvm/test/Transforms/LoopVectorize/AArch64/bounded-load.ll
+4,167-2,0259 files not shown
+5,267-2,76115 files

LLVM/project c812222llvm/lib/Target/RISCV RISCVFrameLowering.cpp RISCVCallingConv.cpp, llvm/test/CodeGen/RISCV zero-call-used-regs-fp.ll

[RISCV] Support floating point registers with -fzero-call-used-regs (#204929)

This patch adds support for clearing floating-point registers with the
`zero-call-used-regs` attribute. It supports all combinations of
floating-point sizes (fp16, fp32, fp64, fp128) and extensions (F, D, Q).

Like #194883, this uses pseudo-instructions to clear the registers. Note
that `PseudoClearFPR64` is manually expanded in `riscv-expand-pseudo`.
For RV32, we expand it to `fcvt.d.w reg, x0, rtz`, but for RV64 we use
the more efficient `fmv.d.x reg, x0`. This also matches GCC behavior.

Finally, using non-GPR values for `zero-call-used-regs` in the Clang
driver is still rejected as the backend doesn't support clearing vector
registers.
DeltaFile
+593-0llvm/test/CodeGen/RISCV/zero-call-used-regs-fp.ll
+41-3llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+26-0llvm/lib/Target/RISCV/RISCVCallingConv.cpp
+21-0llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
+8-4llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
+10-0llvm/lib/Target/RISCV/RISCVSubtarget.h
+699-76 files not shown
+729-812 files

LLVM/project 7d68a12lldb/packages/Python/lldbsuite/test decorators.py, lldb/test/API/commands/expression/import-std-module/basic TestImportStdModule.py

[lldb][test] Require macOS 16 SDK or higher for import-std-module tests (#206173)
DeltaFile
+27-0lldb/packages/Python/lldbsuite/test/decorators.py
+2-0lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py
+2-0lldb/test/API/commands/expression/import-std-module/basic/TestImportStdModule.py
+1-0lldb/test/API/commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py
+1-0lldb/test/API/commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py
+1-0lldb/test/API/commands/expression/import-std-module/vector/TestVectorFromStdModule.py
+34-026 files not shown
+60-032 files

LLVM/project 75394f2libcxx/utils conformance

[libc++] Specify `encoding='utf-8'` in `conformance` script (#189534)

In some environments, especially Windows with active code page other
than 65001, some characters in the CSV files cause parse errors without
explicitly specifying the UTF-8 encoding.

Explicitly using `encoding='utf-8'` in `click.File` fixes such errors.
DeltaFile
+9-9libcxx/utils/conformance
+9-91 files

LLVM/project 1924702clang/docs LanguageExtensions.rst LanguageExtensions.md

Merge users/rnk/clang-md-1b into markdown-docs
DeltaFile
+0-7,392clang/docs/LanguageExtensions.rst
+6,973-0clang/docs/LanguageExtensions.md
+0-1,182clang/docs/ThreadSafetyAnalysis.rst
+0-1,181clang/docs/ReleaseNotes.rst
+1,121-0clang/docs/ThreadSafetyAnalysis.md
+1,105-0clang/docs/ReleaseNotes.md
+9,199-9,75536 files not shown
+14,903-15,70342 files

LLVM/project 7bb681f.github new-prs-labeler.yml, llvm/docs LangRef.rst LangRef.md

Merge users/rnk/llvm-md-langref into markdown-docs
DeltaFile
+0-33,105llvm/docs/LangRef.rst
+30,177-0llvm/docs/LangRef.md
+1-1llvm/docs/AddingConstrainedIntrinsics.rst
+1-1.github/new-prs-labeler.yml
+30,179-33,1074 files

LLVM/project d6abe69llvm/docs MergeFunctions.rst MergeFunctions.md

Merge users/rnk/llvm-md-3b into markdown-docs
DeltaFile
+0-785llvm/docs/MergeFunctions.rst
+759-0llvm/docs/MergeFunctions.md
+0-522llvm/docs/MyFirstTypoFix.rst
+0-511llvm/docs/Vectorizers.rst
+497-0llvm/docs/Vectorizers.md
+470-0llvm/docs/MyFirstTypoFix.md
+1,726-1,81838 files not shown
+5,184-5,46244 files

LLVM/project 89d8634bolt/test/X86 infer_no_exits.test

[bolt] Prevent using inplace to add compatibility

BSD sed doesn't implement -i as inplaced modify file. We use copy and
replace as a workaround to avoid this.
DeltaFile
+2-1bolt/test/X86/infer_no_exits.test
+2-11 files

LLVM/project 7b8b8fflibcxxabi/test test_fallback_malloc.pass.cpp

[libc++abi] Fix alternate deletions in exhaustion tests (#193130)

Fixes #192773
DeltaFile
+3-3libcxxabi/test/test_fallback_malloc.pass.cpp
+3-31 files

LLVM/project 1d92a05clang/docs ReleaseNotes.rst, clang/lib/Sema SemaTemplate.cpp

[clang] use typo-corrected name qualifier for template names

This also prevents error-recovery from forming a member specialization which is
not a class member, which leads to crashes-on-invalid.

Fixes #204561
DeltaFile
+12-0clang/test/SemaCXX/typo-correction.cpp
+8-0clang/lib/Sema/SemaTemplate.cpp
+3-2clang/test/Parser/cxx1z-class-template-argument-deduction.cpp
+1-0clang/docs/ReleaseNotes.rst
+24-24 files

LLVM/project 972caa1clang/tools/driver cc1_main.cpp, llvm/include/llvm/MC MCSubtargetInfo.h

[spr] initial version

Created using spr 1.3.8-wip
DeltaFile
+28-14llvm/include/llvm/MC/MCSubtargetInfo.h
+15-14llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+12-11llvm/lib/MC/MCSubtargetInfo.cpp
+6-6clang/tools/driver/cc1_main.cpp
+4-4llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
+3-3llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
+68-524 files not shown
+77-6110 files

LLVM/project 1c9cb76libc/shared builtins.h, libc/shared/builtins divtf3.h

[libc] add shared divtf3 builtin (#205671)

Re-exposes LLVM-libc's `__divtf3` as `shared::divtf3` for reuse by
compiler-rt's builtins.

Stacked change - merge these first:
- #200094
- #205669
- #205670

Part of #197824
DeltaFile
+38-0libc/src/__support/builtins/divtf3.h
+35-0libc/shared/builtins/divtf3.h
+10-0libc/src/__support/builtins/CMakeLists.txt
+2-0libc/test/shared/shared_builtins_test.cpp
+1-0libc/test/shared/CMakeLists.txt
+1-0libc/shared/builtins.h
+87-06 files

LLVM/project b5434c7lldb/tools/driver Platform.h

[lldb][Windows] use Unicode path limit (#206060)

`MAX_PATH` is defined as `260`. `PosixApi.h` already defines `PATH_MAX`
as `32,768` characters which is the max path limit for Unicode paths on
Windows.

Use this in lldb on Windows to avoid path truncation.
DeltaFile
+1-5lldb/tools/driver/Platform.h
+1-51 files

LLVM/project 22349e7llvm/lib/Target/X86 X86AsmPrinter.h

[X86] Mark AsmPrinter Module Passes as Required (#206164)

This won't impact them working on optnone functions, but could impact
whether or not they get called in opt-bisect, which would be wrong.
DeltaFile
+2-2llvm/lib/Target/X86/X86AsmPrinter.h
+2-21 files

LLVM/project 2880a2eclang/test/CIR/CodeGenBuiltins/RISCV riscv-xcvalu.c, lldb/source/Host/common DomainSocket.cpp

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+927-0mlir/lib/Dialect/XeGPU/Transforms/XeGPUContiguityAnalysis.cpp
+256-0mlir/test/Dialect/XeGPU/contiguity-analysis.mlir
+0-247lldb/source/Host/posix/DomainSocket.cpp
+212-0lldb/source/Host/common/DomainSocket.cpp
+145-0clang/test/CIR/CodeGenBuiltins/RISCV/riscv-xcvalu.c
+142-0mlir/test/Dialect/OpenACC/acc-recipe-materialization-loc.mlir
+1,682-247129 files not shown
+4,357-856135 files

LLVM/project d285e74flang/lib/Lower/OpenMP OpenMP.cpp DataSharingProcessor.cpp, flang/lib/Semantics check-omp-variant.cpp

[flang][OpenMP] Support lowering of metadirective (part 3)

Enable metadirective lowering for loop-associated variants such as
`do`, `simd`, `parallel do`, and `do simd`.

When a metadirective resolves to a loop-associated directive, the
associated DO construct is made available to the selected variant so
existing OpenMP loop lowering can process it. Standalone metadirectives
use the following sibling DO evaluation, while begin/end metadirectives
use the first substantive nested evaluation from the metadirective block.

For example, when the `vendor(llvm)` selector matches:

    !$omp metadirective when(implementation={vendor(llvm)}: parallel do)
    do i = 1, n
      y(i) = a*x(i) + y(i)
    end do

the selected `parallel do` variant is lowered with the DO loop that

    [66 lines not shown]
DeltaFile
+476-0flang/test/Lower/OpenMP/metadirective-loop.f90
+240-8flang/lib/Lower/OpenMP/OpenMP.cpp
+101-0flang/test/Semantics/OpenMP/metadirective-loop-nest.f90
+88-2flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+50-0flang/lib/Semantics/check-omp-variant.cpp
+28-4flang/lib/Lower/OpenMP/Utils.cpp
+983-147 files not shown
+1,032-2613 files

LLVM/project a9c1e6fllvm/lib/Target/Lanai LanaiCodeGenPassBuilder.cpp LanaiDelaySlotFiller.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+95-0llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+50-25llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+46-24llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp
+39-0llvm/lib/Target/Lanai/LanaiAsmPrinter.h
+36-0llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
+27-8llvm/lib/Target/Lanai/Lanai.h
+293-575 files not shown
+332-6211 files

LLVM/project d121cb8llvm/lib/Target/Lanai LanaiCodeGenPassBuilder.cpp LanaiDelaySlotFiller.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+95-0llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+50-25llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+46-24llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp
+39-0llvm/lib/Target/Lanai/LanaiAsmPrinter.h
+36-0llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
+27-8llvm/lib/Target/Lanai/Lanai.h
+293-576 files not shown
+333-6512 files

LLVM/project 4345814llvm/lib/Target/Lanai LanaiDelaySlotFiller.cpp LanaiMemAluCombiner.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+50-25llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+46-24llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp
+69-0llvm/lib/Target/Lanai/LanaiCodeGenPassBuilder.cpp
+27-8llvm/lib/Target/Lanai/Lanai.h
+22-0llvm/lib/Target/Lanai/LanaiPassRegistry.def
+4-4llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
+218-613 files not shown
+231-629 files