LLVM/project c501f37llvm/test/CodeGen/AMDGPU arbitrary-fp-to-float.ll, llvm/test/CodeGen/NVPTX arbitrary-fp-to-float.ll

[NFC] Add missing bfloat test coverage for apfloat conversions (#197480)
DeltaFile
+232-0llvm/test/CodeGen/X86/arbitrary-fp-to-float.ll
+209-0llvm/test/CodeGen/NVPTX/arbitrary-fp-to-float.ll
+167-0llvm/test/CodeGen/AMDGPU/arbitrary-fp-to-float.ll
+608-03 files

LLVM/project 1b1149ellvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add support for modules and globals

We can emit callbacks when a module is loaded/unloaded and before
globals are initialized. Both happens in newly introduced constructors
and destructors.
DeltaFile
+316-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+93-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+64-0llvm/test/Instrumentation/Instrumentor/module_and_globals.ll
+46-0llvm/test/Instrumentation/Instrumentor/default_config.json
+11-8llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+3-3llvm/test/Instrumentation/Instrumentor/unreachable.ll
+533-116 files

LLVM/project 4ff3543clang/include/clang/Basic LangOptions.def, clang/include/clang/Options Options.td

rename
DeltaFile
+3-3clang/include/clang/Options/Options.td
+1-1clang/include/clang/Basic/LangOptions.def
+1-1clang/lib/Sema/SemaLifetimeSafety.h
+5-53 files

LLVM/project a4a5655llvm/include/llvm/IR Constants.h, llvm/lib/IR AsmWriter.cpp Constants.cpp

[NFC][IR] Use `isa<ConstantPointerNull>` instead of `isNullValue` for pointer null checks (#197512)

This PR replaces `isNullValue()` with `isa<ConstantPointerNull>()` in
core IR files where the check is semantically testing for a null pointer
rather than a generic zero value. This makes the intent explicit and
prepares for future non-zero null pointer support.
DeltaFile
+2-2llvm/lib/IR/AsmWriter.cpp
+2-2llvm/lib/IR/Constants.cpp
+1-1llvm/include/llvm/IR/Constants.h
+1-1llvm/lib/IR/Verifier.cpp
+6-64 files

LLVM/project 9d28cf8llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/test/Instrumentation/Instrumentor default_config.json

Merge branch 'users/jdoerfert/instrumentor_unreachable' into users/jdoerfert/instrumentor_multi_config
DeltaFile
+1-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+1-1llvm/test/Instrumentation/Instrumentor/default_config.json
+2-22 files

LLVM/project a200a9dllvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add a global function regexp to limit the instrumentation (#196234)

Only functions that match the "function_regex" will be instrumented, or
if they have the instrumentation attribute.
DeltaFile
+55-0llvm/test/Instrumentation/Instrumentor/function_regex.ll
+27-12llvm/lib/Transforms/IPO/Instrumentor.cpp
+26-0llvm/test/Instrumentation/Instrumentor/bad_function_regex.json
+26-0llvm/test/Instrumentation/Instrumentor/function_regex.json
+11-0llvm/test/Instrumentation/Instrumentor/bad_function_regexp.ll
+7-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+152-131 files not shown
+155-147 files

LLVM/project 343a456clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+10-0clang/lib/AST/ASTContext.cpp
+3-2clang/lib/Lex/TextEncodingConfig.cpp
+4-0clang/test/CodeGen/systemz-charset.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+22-25 files

LLVM/project fea55c0clang/docs LanguageExtensions.rst, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.rst
+56-193 files not shown
+60-199 files

LLVM/project 885cbf2clang/lib/Lex TextEncodingConfig.cpp

fix CI
DeltaFile
+2-2clang/lib/Lex/TextEncodingConfig.cpp
+2-21 files

LLVM/project 0e63620llvm/include/llvm/Analysis MemoryBuiltins.h, llvm/lib/Analysis MemoryBuiltins.cpp

[MemoryBuiltins][NFC] Allow users to retrieve detailed (de)allocation info

There are some helpers to inspect a value or call but not all
information about the (de)allocation are made available outside of
MemoryBuiltins.cpp. The two new functions allow users a more in-depth
view of (de)allocations through a single API.
DeltaFile
+88-28llvm/lib/Analysis/MemoryBuiltins.cpp
+37-0llvm/include/llvm/Analysis/MemoryBuiltins.h
+125-282 files

LLVM/project 03c05dfllvm/include/llvm/Analysis MemoryBuiltins.h, llvm/lib/Analysis MemoryBuiltins.cpp

[MemoryBuiltins][NFC] Allow users to retrieve detailed (de)allocation info

There are some helpers to inspect a value or call but not all
information about the (de)allocation are made available outside of
MemoryBuiltins.cpp. The two new functions allow users a more in-depth
view of (de)allocations through a single API.
DeltaFile
+88-28llvm/lib/Analysis/MemoryBuiltins.cpp
+37-0llvm/include/llvm/Analysis/MemoryBuiltins.h
+125-282 files

LLVM/project adde82aclang/include/clang/DependencyScanning DependencyScannerImpl.h

[clang][deps] Remove unused parameter (#197527)

NFC
DeltaFile
+1-2clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+1-21 files

LLVM/project acf3518llvm/test/Instrumentation/Instrumentor default_config.json

Fix id.description formatting in default_config.json

Removed the period at the end of the id.description string.
DeltaFile
+2-2llvm/test/Instrumentation/Instrumentor/default_config.json
+2-21 files

LLVM/project f814cf5clang/include/clang/DependencyScanning DependencyScanningWorker.h, clang/lib/DependencyScanning DependencyScanningWorker.cpp

[clang][deps] Remove unnecessary function overload (#197528)

NFC
DeltaFile
+1-19clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+0-10clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+1-1clang/lib/Driver/ModulesDriver.cpp
+2-303 files

LLVM/project 4239bd7utils/bazel .bazelrc

[Bazel] Pull in common incompatibility flags from BCR testing (#197326)

This change brings in flags which disable legacy behavior to discourage
incompatibilities being introduced for future versions of Bazel.
DeltaFile
+15-0utils/bazel/.bazelrc
+15-01 files

LLVM/project 2df2f4aclang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.h, clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageFormat.cpp

[SSAF] Remove UnsafeBufferUsageTest.h (#195201)

The idea is that we do not want to have test-only functionality in any
interface.
We have lit tests
(clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-serialization.test)
covering the removed unit test.

---------

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
Co-authored-by: Jan Korous <jkorous at apple.com>
DeltaFile
+0-50clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+0-29clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.h
+0-24clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageFormat.cpp
+0-1033 files

LLVM/project 0d43fedllvm/lib/Transforms/IPO Instrumentor.cpp, llvm/test/Instrumentation/Instrumentor test_filter.ll test_filter_config.json

[Instrumentor] Add a property filter for static properties

The user can define static filters in the json to limit instrumentation
to opportunities that match the static expression, e.g., is_volatile==1.
The matcher logic is pretty basic for now. Integer comparisons, string
equalities and startswith are supported.

The commit was prepared with Claude (AI) and proofread/tested by me.
DeltaFile
+385-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+69-0llvm/test/Instrumentation/Instrumentor/test_filter.ll
+56-0llvm/test/Instrumentation/Instrumentor/test_filter_config.json
+51-0llvm/test/Instrumentation/Instrumentor/test_filter_strings.ll
+25-0llvm/test/Instrumentation/Instrumentor/test_filter_strings_config.json
+25-0llvm/test/Instrumentation/Instrumentor/test_filter_errors.json
+611-05 files not shown
+688-211 files

LLVM/project 7ca153dclang-tools-extra/clang-tidy/cppcoreguidelines UseEnumClassCheck.cpp UseEnumClassCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Add IgnoreMacros option to UseEnumClassCheck (#197470)

Adds an option to ignore macros for:
https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/use-enum-class.html

---------

Co-authored-by: Baranov Victor <bar.victor.2002 at gmail.com>
DeltaFile
+13-0clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/use-enum-class-macros.cpp
+8-3clang-tools-extra/clang-tidy/cppcoreguidelines/UseEnumClassCheck.cpp
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+5-0clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/use-enum-class.rst
+1-0clang-tools-extra/clang-tidy/cppcoreguidelines/UseEnumClassCheck.h
+32-35 files

LLVM/project 95a5cf1llvm/lib/Frontend/HLSL RootSignatureMetadata.cpp, llvm/lib/Target/DirectX DXILRootSignature.cpp

[DirectX] Verify root signature version before parsing metadata (#196667)

This patch modifies the logic when parsing root signature metadata so
the version is validated before parsing it.

Fix: https://github.com/llvm/llvm-project/issues/196652
DeltaFile
+6-0llvm/lib/Target/DirectX/DXILRootSignature.cpp
+3-0llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp
+1-1llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Invalid-Version.ll
+10-13 files

LLVM/project b095d60libc/cmake/modules LLVMLibCCompileOptionRules.cmake

[libc] Build with -Wshadow (#197516)

This relands #196519. It now only enables the warning for
clang 22 and newer, since older versions had false positives.
DeltaFile
+6-0libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+6-01 files

LLVM/project dcbe7f2llvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorConfigFile.cpp, llvm/test/Instrumentation/Instrumentor multi_config.ll alloca_and_function.ll

[Instrumentor] Allow multiple config files with different filters

To instrument different functions in different ways we allow to provide
multiple config files now. Each file will result in one instrumentation
run. Multiple files can be passed via command line option or listed in
a "summary" file that is passed via command line option (to keep the
command length managable).
DeltaFile
+52-14llvm/lib/Transforms/IPO/Instrumentor.cpp
+56-0llvm/test/Instrumentation/Instrumentor/multi_config.ll
+20-20llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+37-0llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+16-0llvm/test/Instrumentation/Instrumentor/multi_config_4.json
+12-0llvm/test/Instrumentation/Instrumentor/multi_config_2.json
+193-3414 files not shown
+245-4420 files

LLVM/project 91496dfllvm/include/llvm/Transforms/IPO Instrumentor.h

Update llvm/include/llvm/Transforms/IPO/Instrumentor.h

Co-authored-by: Kevin Sala Penades <salapenades1 at llnl.gov>
DeltaFile
+1-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+1-11 files

LLVM/project 4048570llvm/test/Instrumentation/Instrumentor default_config.json

Update llvm/test/Instrumentation/Instrumentor/default_config.json

Co-authored-by: Kevin Sala Penades <salapenades1 at llnl.gov>
DeltaFile
+1-1llvm/test/Instrumentation/Instrumentor/default_config.json
+1-11 files

LLVM/project 132c3e6mlir/test/Dialect/OpenMP invalid.mlir

Fix operandSegmentSizes mismatch after rebase
DeltaFile
+1-1mlir/test/Dialect/OpenMP/invalid.mlir
+1-11 files

LLVM/project c2c8a86llvm/test/CodeGen/AMDGPU div_i128.ll build-vector-packed-partial-undef.ll, llvm/test/CodeGen/AMDGPU/GlobalISel sdivrem.ll udivrem.ll

AMDGPU/GlobalISel: Switch some tests to -new-reg-bank-select (#197466)
DeltaFile
+3,436-2,769llvm/test/CodeGen/AMDGPU/GlobalISel/sdivrem.ll
+2,801-2,109llvm/test/CodeGen/AMDGPU/GlobalISel/udivrem.ll
+1,609-1,359llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
+526-554llvm/test/CodeGen/AMDGPU/div_i128.ll
+431-169llvm/test/CodeGen/AMDGPU/build-vector-packed-partial-undef.ll
+287-287llvm/test/CodeGen/AMDGPU/memset-param-combinations.ll
+9,090-7,247171 files not shown
+11,868-9,512177 files

LLVM/project aa98d2elldb/include/lldb/Interpreter CommandReturnObject.h, lldb/source/Commands CommandObjectProtocolServer.cpp CommandObjectProcess.cpp

Revert "[lldb] Assert that CommandObject::DoExecute sets a return status" (#197367)

Reverts llvm/llvm-project#196589
[lldb-remote-linux-ubuntu](https://lab.llvm.org/buildbot/#/builders/195/builds/24894) 262 shell tests failed
[lldb-remote-linux-win](https://lab.llvm.org/buildbot/#/builders/197/builds/15918) 193 shell tests failed
DeltaFile
+0-38lldb/unittests/Interpreter/TestCommandReturnObject.cpp
+1-24lldb/source/Interpreter/CommandObject.cpp
+1-4lldb/include/lldb/Interpreter/CommandReturnObject.h
+2-2lldb/test/API/commands/command/script/TestCommandScript.py
+1-2lldb/source/Commands/CommandObjectProtocolServer.cpp
+0-2lldb/source/Commands/CommandObjectProcess.cpp
+5-722 files not shown
+6-748 files

LLVM/project 549457cclang/docs ReleaseNotes.rst, clang/lib/Sema SemaTemplateInstantiate.cpp SemaExprCXX.cpp

[clang] make evaluation of type constraint a SFINAE context

Otherwise, errors when substituting a type constraint could unintentionally make
the program ill-formed.

This also strenghtens the assert which checks, when we are instantiating templates,
that we either have a code synthesis context, or that we are in a SFINAE
context.
DeltaFile
+12-32clang/lib/Sema/SemaTemplateInstantiate.cpp
+21-0clang/test/SemaTemplate/instantiate-requires-expr.cpp
+4-0clang/lib/Sema/SemaExprCXX.cpp
+2-0clang/docs/ReleaseNotes.rst
+39-324 files

LLVM/project 0e3812bllvm/test/CodeGen/AMDGPU llvm.amdgcn.permlane.xor.ll llvm.amdgcn.permlane.bcast.ll

Refactor permlane kernel tests to return intrinsic value
DeltaFile
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.xor.ll
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.bcast.ll
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.down.ll
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.up.ll
+50-64llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.idx.gen.ll
+1,378-2,9285 files

LLVM/project 6c67a2cflang/lib/Optimizer/OpenMP LowerWorkdistribute.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[mlir][OpenMP] Add iterator support to map/motion clause

Extend map/motion clause to support `!omp.iterated<Ty>` handles
alongside map/motion locators.

This is part of feature work for #188061

Assisted with copilot
DeltaFile
+128-21mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+100-1mlir/test/Dialect/OpenMP/ops.mlir
+83-0mlir/test/Target/LLVMIR/openmp-todo.mlir
+38-4mlir/test/Dialect/OpenMP/invalid.mlir
+19-18flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+14-3mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+382-475 files not shown
+403-6111 files

LLVM/project 088fc48mlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Require explicit yield in iterator op

Remove the implicit terminator trait from omp.iterator so iterator
modifiers must explicitly yield the value used to form the iterated list.

Add and update verfier and test accordingly.
DeltaFile
+15-0mlir/test/Dialect/OpenMP/ops.mlir
+5-8mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+9-0mlir/test/Dialect/OpenMP/invalid.mlir
+1-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+30-114 files