LLVM/project 7ee9a76llvm/tools/llvm-profgen PerfReader.cpp

drop unrelated changes

Created using spr 1.3.4
DeltaFile
+5-4llvm/tools/llvm-profgen/PerfReader.cpp
+5-41 files

LLVM/project 93871c5clang/include/clang/CIR/Dialect/IR CIRCUDAAttrs.td, clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenCall.cpp

[CIR][CUDA] Global emission for fatbin symbols (#187636)
DeltaFile
+170-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+46-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+18-1clang/include/clang/CIR/Dialect/IR/CIRCUDAAttrs.td
+13-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-3clang/test/CIR/CodeGenCUDA/kernel-stub-name.cu
+4-2clang/lib/CIR/CodeGen/CIRGenCall.cpp
+254-64 files not shown
+260-910 files

LLVM/project f946a48bolt/lib/Profile DataAggregator.cpp, llvm/test/tools/llvm-profgen filter-build-id.test

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+106-51llvm/tools/llvm-profgen/PerfReader.cpp
+47-12llvm/tools/llvm-profgen/ProfiledBinary.cpp
+33-0llvm/test/tools/llvm-profgen/filter-build-id.test
+25-0llvm/tools/llvm-profgen/ProfiledBinary.h
+17-6bolt/lib/Profile/DataAggregator.cpp
+13-3llvm/tools/llvm-profgen/PerfReader.h
+241-724 files not shown
+263-7210 files

LLVM/project f3bbce3bolt/lib/Profile DataAggregator.cpp, llvm/test/tools/llvm-profgen filter-build-id.test

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

Created using spr 1.3.4

[skip ci]
DeltaFile
+94-50llvm/tools/llvm-profgen/PerfReader.cpp
+47-12llvm/tools/llvm-profgen/ProfiledBinary.cpp
+33-0llvm/test/tools/llvm-profgen/filter-build-id.test
+25-0llvm/tools/llvm-profgen/ProfiledBinary.h
+17-6bolt/lib/Profile/DataAggregator.cpp
+13-3llvm/tools/llvm-profgen/PerfReader.h
+229-712 files not shown
+245-718 files

LLVM/project d116672clang/include/clang/Analysis/Analyses UnsafeBufferUsage.h, clang/lib/Analysis UnsafeBufferUsage.cpp

[UnsafeBufferUsage][SSAF] Change -Wunsafe-buffer-usage API for SSAF-based analysis

Change -Wunsafe-buffer-usage API to match `Stmt`s instead of `Decl`s.
It is up to clients of the API to determine how to traversal a
`Decl`. In this change, the client is SSAF-based
UnsafeBufferUsageExtractor.
DeltaFile
+66-57clang/lib/Analysis/UnsafeBufferUsage.cpp
+2-22clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+4-8clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
+72-873 files

LLVM/project f4ab72cclang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.h, clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.cpp SSAFAnalysesCommon.h

[SSAF][Analyses] Add an AST visitor for the contribution model

Add an AST visitor that respects the contribution model and will be
shared across SSAF analyses.
DeltaFile
+41-69clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+106-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+12-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+7-4clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.h
+2-1clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeLists.txt
+168-745 files

LLVM/project 2874480mlir/docs/Bindings Python.md, mlir/python/mlir/dialects ext.py

[MLIR][Python] Migrate `result(infer_type=True)` to a new field specifier (#191849)

Currrently the signature of `result(..)` is:
```python
result(*, infer_type: bool = False, default_factory: Callable[[], Any] | None = None, kw_only: bool = False) -> Result
```

so when users use `result(infer_type=True)`, the type checkers will
still get `kw_only=False` (from the signature), but actually the
`kw_only` should be `True` (it should follow the value of `infer_type`).
users can use `result(infer_type=True, kw_only=True)` but it's
unnecessarily verbose.

So it may introduce an incompatibility when we start to use
`dataclass_transform`. currently it's fine because we just don't use
`dataclass_transform`. But when we use, we may require a breaking
change.

This PR migrates such use to a new field specifier named
`infer_result()`.
DeltaFile
+14-8mlir/python/mlir/dialects/ext.py
+8-8mlir/test/python/dialects/ext.py
+5-5mlir/test/python/dialects/transform_op_interface.py
+3-3mlir/test/python/integration/dialects/bf.py
+2-2mlir/docs/Bindings/Python.md
+32-265 files

LLVM/project 12f636dlibclc/cmake/modules CMakeCLCInformation.cmake CMakeDetermineCLCCompiler.cmake

Revert "[libclc][CMake] Use clang/llvm-ar on Windows (#186726)" (#191745)

This reverts commit 4abb927bacf37f18f6359a41639a6d1b3bffffb5.

The code is not needed since 121f5a96ff38 because the C compiler is now
always just-built clang in in-tree build. In addition, CMAKE_AR is
llvm-ar and CMAKE_RANLIB is llvm-ranlib.
DeltaFile
+3-21libclc/cmake/modules/CMakeCLCInformation.cmake
+1-16libclc/cmake/modules/CMakeDetermineCLCCompiler.cmake
+4-372 files

LLVM/project aab5c10openmp/device/include Synchronization.h

[Offload] Revert part of #187138. Workaround #191910 (#191925)

Closes #191910

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>
DeltaFile
+5-0openmp/device/include/Synchronization.h
+5-01 files

LLVM/project 5b4ee2eclang/lib/Sema SemaTemplate.cpp, clang/test/AST ast-dump-template-decls-json.cpp ast-dump-decl-context-json.cpp

[clang] fix some places where used decls were not marked as referenced
DeltaFile
+272-267clang/test/AST/ast-dump-template-decls-json.cpp
+31-28clang/test/AST/ast-dump-decl-context-json.cpp
+12-12clang/test/AST/ast-dump-decl.cpp
+18-0clang/test/AST/ast-dump-templates.cpp
+14-3clang/lib/Sema/SemaTemplate.cpp
+4-4clang/test/SemaTemplate/make_integer_seq.cpp
+351-31422 files not shown
+388-35528 files

LLVM/project 51e31d3llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-link-time-classify.ll lower-module-lds-link-time-multi-kernel.ll

[AMDGPU] Add object linking support for LDS and named barrier lowering in the middle end

This is the first patch in a series introducing object linking support for
AMDGPU.

This PR adds the -amdgpu-enable-object-linking flag to enable object linking in
the backend. It also updates the AMDGPULowerModuleLDSPass and
AMDGPULowerExecSync passes to support lowering LDS and named barrier globals
when object linking is enabled.
DeltaFile
+163-0llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+73-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-classify.ll
+62-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-multi-kernel.ll
+52-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-multi-lds-per-func.ll
+50-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-internal-multi-user.ll
+50-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-transitive.ll
+450-06 files not shown
+625-012 files

LLVM/project 5753b3fllvm/lib/Target/AMDGPU AMDGPULowerIntrinsics.cpp, llvm/test/CodeGen/AMDGPU lower-intrinsics-noalias-metadata.ll

[AMDGPU] Preserve metadata in all barrier lowering paths (#191916)

Extend copyMetadata to every call-to-call replacement in
AMDGPULowerIntrinsics, not just the single-wave s_barrier →
wave_barrier path. This covers:
- s_cluster_barrier → wave_barrier (single-wave)
- s_cluster_barrier → signal_isfirst + wait + signal + wait (multi-wave)
- s_barrier → signal + wait (split barriers)

Add GFX11 and GFX12 RUN lines and test functions for all lowering
paths to verify metadata preservation.

Made-with: Cursor
DeltaFile
+152-14llvm/test/CodeGen/AMDGPU/lower-intrinsics-noalias-metadata.ll
+12-6llvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
+164-202 files

LLVM/project 5b2ebe4llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-link-time-classify.ll lower-module-lds-link-time-multi-kernel.ll

[AMDGPU] Add object linking support for LDS and named barrier lowering in the middle end

This is the first patch in a series introducing object linking support for
AMDGPU.

This PR adds the -amdgpu-enable-object-linking flag to enable object linking in
the backend. It also updates the AMDGPULowerModuleLDSPass and
AMDGPULowerExecSync passes to support lowering LDS and named barrier globals
when object linking is enabled.
DeltaFile
+163-0llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+73-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-classify.ll
+62-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-multi-kernel.ll
+52-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-multi-lds-per-func.ll
+50-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-internal-multi-user.ll
+50-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-transitive.ll
+450-06 files not shown
+626-012 files

LLVM/project bfff42clibcxx/test/std/utilities/format/format.functions format.locale.runtime_format.pass.cpp format.locale.dynamic_format.pass.cpp, libcxx/test/std/utilities/format/format.syn runtime_format_string.pass.cpp dynamic_format_string.pass.cpp

Revert "[libc++][format] P3953R3: Rename `std::runtime_format` (#189657)" (#191912)

This reverts commit 67c893eebc793cea8b0d12b9037d3117191b76eb due to
buildbot breakage

(https://github.com/llvm/llvm-project/pull/189657#issuecomment-4231358706,
https://github.com/llvm/llvm-project/pull/189657#issuecomment-4239964862).
DeltaFile
+86-0libcxx/test/std/utilities/format/format.functions/format.locale.runtime_format.pass.cpp
+0-86libcxx/test/std/utilities/format/format.functions/format.locale.dynamic_format.pass.cpp
+0-84libcxx/test/std/utilities/format/format.functions/format.dynamic_format.pass.cpp
+84-0libcxx/test/std/utilities/format/format.functions/format.runtime_format.pass.cpp
+70-0libcxx/test/std/utilities/format/format.syn/runtime_format_string.pass.cpp
+0-70libcxx/test/std/utilities/format/format.syn/dynamic_format_string.pass.cpp
+240-2408 files not shown
+299-30114 files

LLVM/project c9075f7compiler-rt/lib/hwasan hwasan_allocator.cpp hwasan_flags.inc, compiler-rt/test/hwasan/TestCases tag_mask_smoke.c

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+22-3compiler-rt/lib/hwasan/hwasan_allocator.cpp
+21-0compiler-rt/test/hwasan/TestCases/tag_mask_smoke.c
+3-0compiler-rt/lib/hwasan/hwasan_flags.inc
+46-33 files

LLVM/project 02c090ccompiler-rt/lib/hwasan hwasan_allocator.cpp hwasan_poisoning.cpp, compiler-rt/test/hwasan/TestCases tag_mask_smoke.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+24-3compiler-rt/lib/hwasan/hwasan_allocator.cpp
+21-0compiler-rt/test/hwasan/TestCases/tag_mask_smoke.c
+5-2compiler-rt/lib/hwasan/hwasan_poisoning.cpp
+3-0compiler-rt/lib/hwasan/hwasan_flags.inc
+1-0compiler-rt/lib/hwasan/hwasan.h
+54-55 files

LLVM/project 04f048bcompiler-rt/lib/hwasan hwasan_allocator.cpp hwasan.h

upd

Created using spr 1.3.7
DeltaFile
+0-2compiler-rt/lib/hwasan/hwasan_allocator.cpp
+0-1compiler-rt/lib/hwasan/hwasan.h
+0-32 files

LLVM/project 84ba76bcompiler-rt/lib/hwasan hwasan_poisoning.cpp

upd

Created using spr 1.3.7
DeltaFile
+2-6compiler-rt/lib/hwasan/hwasan_poisoning.cpp
+2-61 files

LLVM/project a0d49bccompiler-rt/lib/hwasan hwasan_poisoning.cpp

fmt

Created using spr 1.3.7
DeltaFile
+3-2compiler-rt/lib/hwasan/hwasan_poisoning.cpp
+3-21 files

LLVM/project 36e9361compiler-rt/lib/hwasan hwasan_poisoning.cpp

fix

Created using spr 1.3.7
DeltaFile
+3-1compiler-rt/lib/hwasan/hwasan_poisoning.cpp
+3-11 files

LLVM/project 9407fc4clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevelFormat.h, clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.h

[NFC][SSAF] Extract common code in Analyses to a shared file

Created SSAFAnalysesCommon.h for the SSAF analyses implementation.
DeltaFile
+50-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+6-24clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+2-10clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+0-12clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+59-465 files

LLVM/project 5612275lldb/include/lldb/Target Process.h, lldb/source/Plugins/DynamicLoader/MacOSX-DYLD DynamicLoaderMacOS.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+75-30lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
+66-2lldb/tools/debugserver/source/RNBRemote.cpp
+36-5lldb/include/lldb/Target/Process.h
+39-0llvm/test/CodeGen/AMDGPU/lower-intrinsics-noalias-metadata.ll
+19-14lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+29-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+264-5212 files not shown
+362-7818 files

LLVM/project 917d1b4lldb/include/lldb/Target Process.h, lldb/source/Plugins/DynamicLoader/MacOSX-DYLD DynamicLoaderMacOS.cpp

rebase

Created using spr 1.3.7
DeltaFile
+75-30lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
+66-2lldb/tools/debugserver/source/RNBRemote.cpp
+36-5lldb/include/lldb/Target/Process.h
+39-0llvm/test/CodeGen/AMDGPU/lower-intrinsics-noalias-metadata.ll
+19-14lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+29-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+264-5212 files not shown
+362-7818 files

LLVM/project 4f1b776lldb/include/lldb/Target Process.h, lldb/source/Plugins/DynamicLoader/MacOSX-DYLD DynamicLoaderMacOS.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+75-30lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
+66-2lldb/tools/debugserver/source/RNBRemote.cpp
+36-5lldb/include/lldb/Target/Process.h
+39-0llvm/test/CodeGen/AMDGPU/lower-intrinsics-noalias-metadata.ll
+19-14lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+29-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+264-5212 files not shown
+362-7818 files

LLVM/project 1bc208alldb/include/lldb/Target Process.h, lldb/source/Plugins/DynamicLoader/MacOSX-DYLD DynamicLoaderMacOS.cpp

rebase

Created using spr 1.3.7
DeltaFile
+75-30lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
+66-2lldb/tools/debugserver/source/RNBRemote.cpp
+36-5lldb/include/lldb/Target/Process.h
+39-0llvm/test/CodeGen/AMDGPU/lower-intrinsics-noalias-metadata.ll
+19-14lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+29-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+264-5212 files not shown
+362-7818 files

LLVM/project 72df1fcllvm/lib/Transforms/Instrumentation HWAddressSanitizer.cpp, llvm/test/Instrumentation/HWAddressSanitizer alloca.ll

[HWASan] Add hwasan-tag-bits flag (#191088)

This can be used to make sure the stack tagging does not use the top bit
of
the pointer. This is useful when HWASan is used in combination with
signed-integer-overflow detection. Some code uses arithmetic on intptr_t
that overflows for sufficiently large pointers.
DeltaFile
+24-22llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
+12-0llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+36-222 files

LLVM/project 65abbbdclang/include/clang/ScalableStaticAnalysisFramework SSAFBuiltinForceLinker.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageExtractor.h

[SSAF][UnsafeBufferUsage] Remove UnsafeBufferUsageExtractor.h

- Removed UnsafeBufferUsageExtractor.h
- Registered UnsafeBufferUsageExtractor
- Changed unit tests to enable the extractor with `HandleTranslationUnit`
- Fixed bugs in `UnsafeBufferUsageExtractor::HandleTranslationUnit`
DeltaFile
+186-131clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+81-85clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+0-35clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.h
+5-0clang/include/clang/ScalableStaticAnalysisFramework/SSAFBuiltinForceLinker.h
+272-2514 files

LLVM/project a42ab6eclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Use vfs from ast context to get gpubinary
DeltaFile
+5-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+5-21 files

LLVM/project 66f2212clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

remove unused var
DeltaFile
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-11 files

LLVM/project cd30847clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu kernel-stub-name.cu

Fix conflicts and add section to fatbin globals
DeltaFile
+9-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+3-4clang/test/CIR/CodeGenCUDA/device-stub.cu
+3-3clang/test/CIR/CodeGenCUDA/kernel-stub-name.cu
+2-2clang/test/CIR/CodeGenCUDA/kernel-call.cu
+1-1clang/test/CIR/CodeGenHIP/simple.cpp
+18-115 files