LLVM/project 7c671demlir/utils/vscode package.json

Bump version

Created using jj-spr 0.1.0
DeltaFile
+1-1mlir/utils/vscode/package.json
+1-11 files

LLVM/project fe2ba89llvm/test/CodeGen/AMDGPU memory-legalizer-private-wavefront.ll memory-legalizer-private-singlethread.ll, llvm/test/CodeGen/RISCV/rvv vfma-vp.ll

Rebase

Created using jj-spr 0.1.0
DeltaFile
+4,582-5,914llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-wavefront.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-singlethread.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-workgroup.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-agent.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-cluster.ll
+47,112-12,7225,841 files not shown
+524,207-206,4185,847 files

LLVM/project ee9ae0dmlir/utils/vscode package.json, mlir/utils/vscode/src mlirContext.ts

[jj-spr] initial version

Created using jj-spr 0.1.0
DeltaFile
+18-0mlir/utils/vscode/package.json
+12-0mlir/utils/vscode/src/mlirContext.ts
+30-02 files

LLVM/project 2db12ccllvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/test/Target/LLVMIR openmp-llvm.mlir

Add test for fallback path and update assert message
DeltaFile
+65-0mlir/test/Target/LLVMIR/openmp-llvm.mlir
+2-2llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+67-22 files

LLVM/project 4b00dd5llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/test/Target/LLVMIR openmp-llvm.mlir

[OpenMP][OMPIRBuilder] Support complex types in atomic update/capture

Route struct-typed values through the libcall path in
`emitAtomicUpdate`.

Previously, the libcall path was gated on `RMWOp == BAD_BINOP`, so
atomic capture swap patterns (`v = x; x = expr`) for complex values
lowered as structs fell through to the cmpxchg path. That path called
`getScalarSizeInBits()` on a struct type, produced 0, and triggered an
assertion in `IntegerType::get()`.

Remove the `BAD_BINOP` restriction so struct types always use the
libcall path. This is safe because the libcall path does not use
`RMWOp` and already handles arbitrary type sizes correctly.

Also fix `LoadSize` in the libcall path to use `XElemTy` rather than
the pointer type, which previously gave the wrong size for larger
complex types such as `complex(8)`.


    [3 lines not shown]
DeltaFile
+22-0mlir/test/Target/LLVMIR/openmp-llvm.mlir
+5-8llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+27-82 files

LLVM/project d9c02ffcompiler-rt/lib/xray/tests/unit fdr_controller_test.cpp fdr_log_writer_test.cpp, llvm/lib/XRay Trace.cpp InstrumentationMap.cpp

[XRay] Remove unused argument of DataExtractor constructor (NFC) (#191864)

`AddressSize` parameter is not used by `DataExtractor` and will be
removed in the future. See #190519 for more context.
DeltaFile
+14-14compiler-rt/lib/xray/tests/unit/fdr_controller_test.cpp
+5-5llvm/lib/XRay/Trace.cpp
+3-3llvm/unittests/XRay/FDRTraceWriterTest.cpp
+3-3compiler-rt/lib/xray/tests/unit/fdr_log_writer_test.cpp
+2-2llvm/unittests/XRay/FDRProducerConsumerTest.cpp
+1-3llvm/lib/XRay/InstrumentationMap.cpp
+28-302 files not shown
+30-328 files

LLVM/project 13060e1clang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Dialect/IR CIROps.td

[CIR] Remove OpenCLKernel enum and updated the ordering to match llvm::CallingConv
DeltaFile
+8-8clang/include/clang/CIR/Dialect/IR/CIROps.td
+0-4clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+0-1clang/include/clang/CIR/MissingFeatures.h
+8-133 files

LLVM/project 6f8ba79clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenItaniumCXXABI.cpp

[CIR] Restore MissingFeatures asserts and fix OpenCLKernel handling
DeltaFile
+6-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+5-1clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+3-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+2-1clang/lib/CIR/CodeGen/CIRGenCall.cpp
+2-0clang/include/clang/CIR/MissingFeatures.h
+18-85 files

LLVM/project c7a63b2clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR] Add calling_conv attribute to FuncOp with lowering support
DeltaFile
+38-0clang/test/CIR/IR/calling-conv.cir
+34-0clang/test/CIR/Lowering/calling-conv.cir
+24-5clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+26-1clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+16-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+5-6clang/lib/CIR/CodeGen/CIRGenModule.cpp
+143-133 files not shown
+146-219 files

LLVM/project d3f369eclang/include/clang/CIR/Dialect/IR CIROps.td

[CIR] Add calling convention values to CIR_CallingConv
DeltaFile
+8-3clang/include/clang/CIR/Dialect/IR/CIROps.td
+8-31 files

LLVM/project f4e1a51bolt/lib/Core BinaryContext.cpp DIEBuilder.cpp, bolt/lib/Rewrite LinuxKernelRewriter.cpp DWARFRewriter.cpp

[bolt] Remove unused argument of DataExtractor constructor (NFC) (#191841)

`AddressSize` parameter is not used by `DataExtractor` and will be
removed in the future. See #190519 for more context.

I took the liberty of switching from using the `StringRef` constructor
overload to `ArrayRef` where appropriate.
DeltaFile
+26-34bolt/lib/Rewrite/LinuxKernelRewriter.cpp
+3-6bolt/lib/Core/BinaryContext.cpp
+2-6bolt/lib/Core/DIEBuilder.cpp
+2-5bolt/lib/Rewrite/DWARFRewriter.cpp
+2-4bolt/lib/Rewrite/RewriteInstance.cpp
+2-4bolt/lib/Core/DebugNames.cpp
+37-596 files not shown
+43-6812 files

LLVM/project 3a5555dclang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-logb-scalbn.hip

[CIR][AMDGPU] Fix FltSemantics, naming convention, and CIR APIs
DeltaFile
+52-61clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+12-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-logb-scalbn.hip
+64-612 files

LLVM/project 8619a5eflang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP declare-target-named-main-interface.f90 real10.f90

[flang][OpenMP] Avoid marking named main programs as declare target (#190250)

A bare `!$omp declare target` could incorrectly mark `_QQmain` as
`omp.declare_target` when it appeared in an interface body inside a
named
main program. That pulled host-only callees into device compilation and
caused offload link failures.

Fix this by skipping main programs in the implicit-capture path.
Also add a regression test for the named-main interface case and update
`real10.f90` to use a valid container for the bare `declare target`
form.

This fixes offload link failures where `_QQmain` was incorrectly treated
as
a device function and pulled in host-only symbols such as Fortran I/O
runtime calls.

Minimal reproducer:

    [13 lines not shown]
DeltaFile
+32-0flang/test/Lower/OpenMP/declare-target-named-main-interface.f90
+6-3flang/lib/Lower/OpenMP/OpenMP.cpp
+3-3flang/test/Lower/OpenMP/real10.f90
+41-63 files

LLVM/project 93a6725clang/lib/Driver/ToolChains FreeBSD.h, clang/test/Driver instrprof-ld.c sanitizer-ld.c

[ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)

When the linker is specified as ld, toolchain applies special handling
by invoking (triple)-ld instead of resolving ld via standard PATH
lookup. This causes GNU ld installed via the system package manager to
take the precedence (since (triple)-ld appears earlier in the search
path), effectively overriding ld.lld.

As a result, we set the default Linker on FreeBSD to ld.lld to indicate
we want to use lld by default.
DeltaFile
+2-2clang/test/Driver/instrprof-ld.c
+4-0clang/lib/Driver/ToolChains/FreeBSD.h
+2-2clang/test/Driver/sanitizer-ld.c
+1-1clang/test/Driver/coverage-ld.c
+9-54 files

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

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

LLVM/project 525dd8cclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

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

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

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

LLVM/project 562f89bclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Use vfs from ast context to get gpubinary
DeltaFile
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-11 files

LLVM/project 13baf13clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

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

LLVM/project 5f7f992clang/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 d3c1e6cclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

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

LLVM/project 7b45b6eclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Avoid copies from `std::string`
DeltaFile
+7-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+7-51 files

LLVM/project c2624b5llvm/lib/CodeGen InsertCodePrefetch.cpp

[NFC] Use stable_sort to fix the basic-block-sections-code-prefetch.l test. (#191941)

This fixes https://lab.llvm.org/buildbot/#/builders/187/builds/18954.
DeltaFile
+1-1llvm/lib/CodeGen/InsertCodePrefetch.cpp
+1-11 files

LLVM/project 27be242clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-logb-scalbn.hip

[CIR][AMDGPU] Adds amdgcn logb and scalebn builtins
DeltaFile
+89-10clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+42-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-logb-scalbn.hip
+131-102 files

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

rebase+format

Created using spr 1.3.4
DeltaFile
+54-99llvm/tools/llvm-profgen/PerfReader.cpp
+12-47llvm/tools/llvm-profgen/ProfiledBinary.cpp
+0-33llvm/test/tools/llvm-profgen/filter-build-id.test
+0-25llvm/tools/llvm-profgen/ProfiledBinary.h
+6-17bolt/lib/Profile/DataAggregator.cpp
+3-13llvm/tools/llvm-profgen/PerfReader.h
+75-2343 files not shown
+77-2529 files

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

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

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

LLVM/project f2a71caclang/test/OpenMP split_driver_smoke.c

[clang][OpenMP][test] Use -fopenmp=libomp explicitly in driver smoke test (#191936)

Using -fopenmp uses the default openmp lib, which defaults to libomp but
may be something else. This test only passes with libomp, so it passes
when using default, but fails downstream if configured for something
else, like libgomp.
DeltaFile
+1-1clang/test/OpenMP/split_driver_smoke.c
+1-11 files

LLVM/project 92dde79clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenModule.h, clang/test/CIR/CodeGen keep-persistent-storage-variables.cpp attr-retain.c

[CIR] Add addLLVMUsed and addLLVMCompilerUsed methods to CIRGenModule (#188189)

Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2092

This PR adds support for emitting llvm.used and llvm.compiler.used
global arrays in CIR.

Added addUsedGlobal() and addCompilerUsedGlobal() methods to
CIRGenModule
Adds __hip_cuid_* to llvm.compiler.used for HIP compilation.
Followed OGCG implementation in clang/lib/CodeGen/CodeGenModule.cpp
DeltaFile
+97-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+26-0clang/test/CIR/CodeGenHIP/hip-cuid.hip
+20-0clang/test/CIR/CodeGen/keep-persistent-storage-variables.cpp
+19-0clang/lib/CIR/CodeGen/CIRGenModule.h
+18-0clang/test/CIR/CodeGen/attr-retain.c
+14-0clang/test/CIR/CodeGen/attr-used.c
+194-21 files not shown
+205-27 files

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