LLVM/project 42ce5c1utils/bazel/llvm-project-overlay/mlir/test/Bytecode BUILD.bazel

[bazel] Restore MLIR bytecode tests. (#191938)

These seemed to have gotten removed here.
DeltaFile
+18-0utils/bazel/llvm-project-overlay/mlir/test/Bytecode/BUILD.bazel
+18-01 files

LLVM/project 36f2505clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix undefined void ty
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

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

unreachable on RDC compilation
DeltaFile
+2-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+2-11 files

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

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+122-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+163-22 files

LLVM/project 4ec77d8clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

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

LLVM/project 502a948clang/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 289c766clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Fix missing include for memoryBuffer on linux ci
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project 25969b9clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix twine crashes
DeltaFile
+5-6clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+5-61 files

LLVM/project 3d70939clang/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

LLVM/project 31fd99bclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

remove accidental .inc include
DeltaFile
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-11 files

LLVM/project 39d03dcclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix fmt
DeltaFile
+1-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-11 files

LLVM/project 2c5efb9clang/include/clang/CIR/Dialect/IR CIRCUDAAttrs.td, clang/lib/CIR/CodeGen CIRGenCall.cpp

address more string copies stuff yo
DeltaFile
+4-3clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+4-2clang/lib/CIR/CodeGen/CIRGenCall.cpp
+1-1clang/include/clang/CIR/Dialect/IR/CIRCUDAAttrs.td
+9-63 files

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

fix tests and remove unnecessary comments.
DeltaFile
+0-3clang/test/CIR/CodeGenCUDA/device-stub.cu
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-42 files

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

Avoid copies from `std::string`
DeltaFile
+23-17clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+7-4clang/lib/CIR/CodeGen/CIRGenModule.cpp
+1-1clang/include/clang/CIR/Dialect/IR/CIRCUDAAttrs.td
+31-223 files

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

fix global builder ordering
DeltaFile
+8-7clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+8-71 files

LLVM/project 325065dclang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Dialect/IR CIRCUDAAttrs.td CIRDialect.td

[CIR][CUDA] Global emission for fatbin symbols
DeltaFile
+154-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+50-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+17-0clang/include/clang/CIR/Dialect/IR/CIRCUDAAttrs.td
+10-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+2-0clang/include/clang/CIR/MissingFeatures.h
+1-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+234-06 files

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