LLVM/project 49c3cd1lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition TestCrashingCondition.py main.c

Add a test that we recover from a crashing breakpoint condition.
DeltaFile
+49-0lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/TestCrashingCondition.py
+14-0lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/main.c
+4-0lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/Makefile
+67-03 files

LLVM/project 8d72942clang/lib/Driver/ToolChains Clang.cpp, clang/test/Driver hip-options.hip linker-wrapper-canonical-prefixes.c

fix

Created using spr 1.3.7
DeltaFile
+3-2clang/test/Driver/hip-options.hip
+4-0clang/lib/Driver/ToolChains/Clang.cpp
+1-1clang/test/Driver/linker-wrapper-canonical-prefixes.c
+1-1clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
+9-44 files

LLVM/project 78f259fmlir/lib/ExecutionEngine CMakeLists.txt LevelZeroRuntimeWrappers.cpp

[MLIR] mlir_levelzero_runtime: remove dependency on LLVM (#182942)

L0 runtime can be built standalone without any dependency on LLVM/MLIR
components.
Remove remaining small dependency from L0 runtime
DeltaFile
+9-9mlir/lib/ExecutionEngine/CMakeLists.txt
+5-6mlir/lib/ExecutionEngine/LevelZeroRuntimeWrappers.cpp
+14-152 files

LLVM/project 4995b2b.github/workflows/containers/github-action-ci-windows Dockerfile

[Github] Enable long paths in windows CI Container (#184224)

Otherwise we run into issues with file paths >260 characters. This was
preventing us from updating the Windows container as last time we built
the container it came with a MSVC supplied CMake update, which used
absolute paths in more places, bumping us over the limit.

https://github.com/ninja-build/ninja/issues/2400
https://gitlab.kitware.com/cmake/cmake/-/issues/22435
DeltaFile
+5-0.github/workflows/containers/github-action-ci-windows/Dockerfile
+5-01 files

LLVM/project 4f50a72clang/include/clang/Basic LangStandard.h LangOptions.def, clang/lib/Basic LangOptions.cpp

[clang][clang-scan-deps] Add LangOptions::AllowLiteralDigitSeparator to fix #88896 (#184235)

Fixes #88896 by following the approach described in
https://github.com/llvm/llvm-project/pull/95798#discussion_r1649496882.
This adds `LangOptions::AllowLiteralDigitSeparator`, following the
pattern used for `RawStringLiterals` in #88265.

It is enabled by default for C++14 and C23, and the Scanner sets it
explicitly to always allow literals with digit separators in directives.

Originally authored by @tsfn (Yifan Fang, <gatsfn at gmail.com>) in
#158420.

Co-authored-by: Yifan Fang <gatsfn at gmail.com>
DeltaFile
+17-0clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
+3-0clang/include/clang/Basic/LangStandard.h
+2-0clang/include/clang/Basic/LangOptions.def
+1-1clang/lib/Lex/Lexer.cpp
+1-0clang/lib/Lex/DependencyDirectivesScanner.cpp
+1-0clang/lib/Basic/LangOptions.cpp
+25-11 files not shown
+26-17 files

LLVM/project 20b8ab5offload/include/OpenMP Mapping.h, offload/libomptarget omptarget.cpp

Revert "Revert "[OpenMP][Offload] Handle `present/to/from` when a different e…"

This reverts commit 42a0fbc2c792f414e844328a363dbebe720a5255.
DeltaFile
+223-50offload/libomptarget/omptarget.cpp
+103-15offload/include/OpenMP/Mapping.h
+50-0offload/test/mapping/map_ordering_tgt_exit_data_from_mapper_overlap.c
+49-0offload/test/mapping/map_ordering_ptee_tgt_data_alloc_tgt_mapper_present_delete_from_to.c
+48-0offload/test/mapping/map_ordering_ptee_tgt_alloc_mapper_alloc_from_to.c
+42-0offload/test/mapping/map_ordering_tgt_exit_data_from_delete_assumedsize.c
+515-6511 files not shown
+764-7617 files

LLVM/project 42a0fbcoffload/include/OpenMP Mapping.h, offload/libomptarget omptarget.cpp

Revert "[OpenMP][Offload] Handle `present/to/from` when a different entry did `alloc/delete`." (#184240)

Reverts llvm/llvm-project#165494

Some buildbots are not happy about CHECKs enforcing strict ordering of
prints inside/after target regions.
DeltaFile
+50-223offload/libomptarget/omptarget.cpp
+15-103offload/include/OpenMP/Mapping.h
+0-50offload/test/mapping/map_ordering_tgt_exit_data_from_mapper_overlap.c
+0-49offload/test/mapping/map_ordering_ptee_tgt_data_alloc_tgt_mapper_present_delete_from_to.c
+0-48offload/test/mapping/map_ordering_ptee_tgt_alloc_mapper_alloc_from_to.c
+0-42offload/test/mapping/map_ordering_tgt_exit_data_from_delete_assumedsize.c
+65-51511 files not shown
+76-76417 files

LLVM/project 15ca448clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Split cir.binop into separate per-operation binary ops

LLVM lowering uses per-op patterns generated by the CIRLowering.inc TableGen
infrastructure instead of a monolithic TypeSwitch dispatch.
DeltaFile
+491-491clang/test/CIR/CodeGenBuiltins/X86/avx512dq-builtins.c
+241-56clang/include/clang/CIR/Dialect/IR/CIROps.td
+124-124clang/test/CIR/CodeGen/complex-mul-div.cpp
+129-106clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+92-92clang/test/CIR/CodeGenBuiltins/X86/sse41-builtins.c
+73-73clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+1,150-942102 files not shown
+2,340-2,094108 files

LLVM/project 5156147libc/include stdlib-malloc.yaml

[libc] Declare reallocarray in stdlib.h / malloc.h (#184223)

Scudo now provides reallocarray, so declare it.
DeltaFile
+9-5libc/include/stdlib-malloc.yaml
+9-51 files

LLVM/project 699d504clang/test/Driver linker-wrapper-canonical-prefixes.c, clang/tools/clang-linker-wrapper ClangLinkerWrapper.cpp LinkerWrapperOpts.td

fix

Created using spr 1.3.7
DeltaFile
+2-2clang/test/Driver/linker-wrapper-canonical-prefixes.c
+0-3clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+1-1clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
+3-63 files

LLVM/project 4a9e081flang/lib/Semantics check-acc-structure.cpp check-acc-structure.h, flang/test/Semantics/OpenACC acc-cache-validity.f90

[flang] Allow acc cache directive inside acc routine (#184213)

While the spec allows the cache directive "at the top of (inside of) a
loop", the directive has also been utilized at the top of an acc
routine. This PR adds support for that.
DeltaFile
+16-1flang/test/Semantics/OpenACC/acc-cache-validity.f90
+8-3flang/lib/Semantics/check-acc-structure.cpp
+1-0flang/lib/Semantics/check-acc-structure.h
+25-43 files

LLVM/project 3c43fc1clang/include/clang/DependencyScanning DependencyScanningWorker.h DependencyScannerImpl.h, clang/include/clang/Tooling DependencyScanningTool.h

[clang][deps] Remove the `finalize()` API for by-module-name scans (#184232)

The `DiagnosticConsumer::finish()` API was removed in #183831. Since
that was the only thing the by-module-name `finalize()` API called, we
can safely remove that and simplify the scanner.
DeltaFile
+2-14clang/lib/Tooling/DependencyScanningTool.cpp
+1-7clang/include/clang/Tooling/DependencyScanningTool.h
+0-8clang/tools/clang-scan-deps/ClangScanDeps.cpp
+1-5clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+0-4clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+1-2clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+5-401 files not shown
+5-427 files

LLVM/project 895597a.github/workflows bazel-checks.yml

[Github][bazel] Run `buildifier --mode=diff` on error (#184233)

Displaying the diff helps point to what the issue is, including if it's
even related to the change at all.

This also expands the pattern to some other files that don't match
`*BUILD*`, e.g. `*.bzl` files.

Example failure:
https://github.com/llvm/llvm-project/actions/runs/22595929783/job/65465781106
DeltaFile
+11-2.github/workflows/bazel-checks.yml
+11-21 files

LLVM/project e132848clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Split cir.binop into separate per-operation binary ops

LLVM lowering uses per-op patterns generated by the CIRLowering.inc TableGen
infrastructure instead of a monolithic TypeSwitch dispatch.
DeltaFile
+491-491clang/test/CIR/CodeGenBuiltins/X86/avx512dq-builtins.c
+241-56clang/include/clang/CIR/Dialect/IR/CIROps.td
+124-124clang/test/CIR/CodeGen/complex-mul-div.cpp
+129-106clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+92-92clang/test/CIR/CodeGenBuiltins/X86/sse41-builtins.c
+73-73clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+1,150-942102 files not shown
+2,336-2,094108 files

LLVM/project da9ba20clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

fix fmt
DeltaFile
+9-4clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+9-41 files

LLVM/project ad6c3fdclang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CIR/Dialect/IR CIRDialect.cpp

Global AS lowering For CUDA and CIRGen tests for target AS
DeltaFile
+30-0clang/test/CIR/CodeGenCUDA/address-spaces.cu
+23-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+17-0clang/test/CIR/CodeGen/address-space.c
+2-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+72-54 files

LLVM/project b89c142clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

more fmt yo
DeltaFile
+1-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+1-11 files

LLVM/project d31f7d9clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenModule.h, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Address Space support for GlobalOps
DeltaFile
+50-12clang/lib/CIR/CodeGen/CIRGenModule.cpp
+46-0clang/test/CIR/Lowering/global-address-space.cir
+30-0clang/test/CIR/IR/address-space.cir
+21-2clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+16-4clang/lib/CIR/CodeGen/CIRGenModule.h
+20-0clang/test/CIR/IR/invalid-addrspace.cir
+183-189 files not shown
+244-3715 files

LLVM/project f61b498clang/lib/Driver/ToolChains Clang.cpp, clang/test/Driver hip-options.hip

fold

Created using spr 1.3.7
DeltaFile
+9-0clang/test/Driver/hip-options.hip
+1-0clang/lib/Driver/ToolChains/Clang.cpp
+10-02 files

LLVM/project 526a4d4llvm/include/llvm/ADT EquivalenceClasses.h, llvm/lib/Analysis LoopAccessAnalysis.cpp

[LAA] Always use DepCands when grouping runtime checks. (#91196)

Update groupChecks to always use DepCands to try and merge runtime
checks. DepCands contains the dependency partition, grouping together
all accessed pointers to he same underlying objects.

If we computed the dependencies, We only need to check accesses to the
same underlying object, if there is an unknown dependency for this
underlying object; otherwise we already proved that all accesses withing
the underlying object are safe w.r.t. vectorization and we only need to
check that accesses to the underlying object don't overlap with accesses
to other underlying objects.

To ensure runtime checks are generated for the case with unknown
dependencies, remove equivalence classes containing accesses involved in
unknown dependencies.

This reduces the number of runtime checks needed in case non-constant
dependence distances are found, and is in preparation for removing the

    [3 lines not shown]
DeltaFile
+52-30llvm/lib/Analysis/LoopAccessAnalysis.cpp
+14-18llvm/test/Transforms/LoopVectorize/runtime-checks-difference.ll
+6-23llvm/test/Analysis/LoopAccessAnalysis/unknown-dependence-retry-with-runtime-checks.ll
+17-0llvm/include/llvm/ADT/EquivalenceClasses.h
+2-12llvm/test/Analysis/LoopAccessAnalysis/retry-runtime-checks-after-dependence-analysis-forked-pointers.ll
+2-12llvm/test/Analysis/LoopAccessAnalysis/different-access-types-rt-checks.ll
+93-951 files not shown
+96-1017 files

LLVM/project f52a203mlir/include/mlir/Dialect/OpenACC OpenACCUtilsLoop.h, mlir/lib/Dialect/OpenACC/Utils OpenACCUtilsLoop.cpp

Revert "[mlir][acc] Replace terminators with scf.yield in wrapMultiBlockRegionWithSCFExecuteRegion (#183758)" (#184228)

This reverts commit 12f4eb2156559c2f8c99fa7dc3b59cb4fef1389d.

https://lab.llvm.org/buildbot/#/builders/55/builds/24871.
DeltaFile
+0-154mlir/unittests/Dialect/OpenACC/OpenACCUtilsLoopTest.cpp
+13-18mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsLoop.cpp
+6-10mlir/include/mlir/Dialect/OpenACC/OpenACCUtilsLoop.h
+19-1823 files

LLVM/project 0ab0825flang/test/Lower/OpenMP task-affinity.f90

Update test
DeltaFile
+183-143flang/test/Lower/OpenMP/task-affinity.f90
+183-1431 files

LLVM/project 4eb9b57flang/lib/Lower/OpenMP Utils.cpp ClauseProcessor.cpp, flang/test/Lower/OpenMP task-affinity.f90

Handle dynamic affinity object sizes and improve iterator coverage

Teach task affinity lowering to compute lengths for dynamic objects
instead of falling back to zero for whole-object cases such as
assumed-shape, allocatable, pointer, character, and polymorphic type.

Add more tests in task-affinity
    - assumed-shape, allocatable, pointer, and polymorphic objects
    - character objects with constant and runtime length
    - iterator character element affinity
    - reordered, expression, and section iterator subscripts
    - Extract iterator handling from processAffinity
DeltaFile
+116-72flang/lib/Lower/OpenMP/Utils.cpp
+146-7flang/test/Lower/OpenMP/task-affinity.f90
+37-36flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+18-0flang/test/Lower/OpenMP/Todo/task-affinity-iterator.f90
+5-2flang/lib/Lower/OpenMP/Utils.h
+322-1175 files

LLVM/project 075aba0flang/lib/Lower/OpenMP Utils.cpp ClauseProcessor.cpp, flang/test/Lower/OpenMP task-affinity.f90

Lower iterator affinity subscripts and sections correctly

Teach OpenMP affinity lowering to evaluate iterator-dependent subscripts
through the iterator symbol mapping and use them to build the element
coordinate directly.

This fixes cases such as:
- affinity(iterator(i,j): a(j,i))
- affinity(iterator(i,j): a(i+1,j))
- affinity(iterator(i,j): a(i:i+1,j+2))
- affinity(iterator(i,j): a(:i+1,j+2))
DeltaFile
+156-25flang/test/Lower/OpenMP/task-affinity.f90
+70-0flang/lib/Lower/OpenMP/Utils.cpp
+30-5flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+5-0flang/lib/Lower/OpenMP/Utils.h
+261-304 files

LLVM/project 183d02dclang/lib/Sema SemaTemplateDeduction.cpp

[clang] NFC: remove unused / untested workaround in pack deduction (#183875)

This snippet was part of what was introduced in
130cc445e46836b28defdce03b1adfdb16ddcf41

However, none of the existing tests require it, including the tests
added in that commit.

One of those tests had a FIXME which was fixed when we switched
frelaxed-template-template-args on by default as well.
DeltaFile
+0-10clang/lib/Sema/SemaTemplateDeduction.cpp
+0-101 files

LLVM/project ea7ff48llvm/include/llvm/Analysis DominanceFrontierImpl.h DominanceFrontier.h, llvm/unittests/Transforms/Vectorize VPPostDomFrontierTest.cpp

[DominanceFrontier] Support multiple root nodes for post-dom (#181257)

Post-dominator tree has a notion of a single virtual root node, use that
in the dominance-frontier implementation to support multiple root nodes.

Originally part of https://github.com/llvm/llvm-project/pull/179336 but
split up into a separate later PR to ease review.

---------

Co-authored-by: Luke Lau <luke_lau at icloud.com>
DeltaFile
+64-0llvm/unittests/Transforms/Vectorize/VPPostDomFrontierTest.cpp
+29-10llvm/include/llvm/Analysis/DominanceFrontierImpl.h
+1-23llvm/include/llvm/Analysis/DominanceFrontier.h
+94-333 files

LLVM/project 537b633clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()

(cherry picked from commit 9e4f1d155064ed3cef04ce15df068ca906aa3c55)
DeltaFile
+28-0clang/test/CodeGen/systemz-charset.cpp
+10-0clang/lib/AST/ASTContext.cpp
+5-4clang/lib/Lex/TextEncodingConfig.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+0-1llvm/include/llvm/Support/TextEncoding.h
+48-56 files

LLVM/project 83bd7daclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Split cir.binop into separate per-operation binary ops

LLVM lowering uses per-op patterns generated by the CIRLowering.inc TableGen
infrastructure instead of a monolithic TypeSwitch dispatch.
DeltaFile
+491-491clang/test/CIR/CodeGenBuiltins/X86/avx512dq-builtins.c
+242-57clang/include/clang/CIR/Dialect/IR/CIROps.td
+124-124clang/test/CIR/CodeGen/complex-mul-div.cpp
+129-106clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+92-92clang/test/CIR/CodeGenBuiltins/X86/sse41-builtins.c
+73-73clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+1,151-943102 files not shown
+2,334-2,091108 files

LLVM/project 61310cd.github/workflows/containers/github-action-ci-windows Dockerfile

[Github] Remove force build from windows container

This did not actually bump the LLVM version (see fixes in #184231) and
will not be necessary now that other patches will be going in forcing a
rebuild anyways.
DeltaFile
+0-2.github/workflows/containers/github-action-ci-windows/Dockerfile
+0-21 files

LLVM/project 533f16fclang-tools-extra/clang-tidy/google ExplicitConstructorCheck.cpp, clang-tools-extra/clang-tidy/utils LexerUtils.cpp LexerUtils.h

[clang-tidy][NFC] Add `findTokenInRange` and reuse it  (#183941)

DeltaFile
+204-0clang-tools-extra/unittests/clang-tidy/LexerUtilsTest.cpp
+54-0clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
+9-34clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.cpp
+9-0clang-tools-extra/clang-tidy/utils/LexerUtils.h
+276-344 files