LLVM/project 46205fflibclc/clc/lib/generic/math clc_atanh.inc clc_atanh.cl

libclc: Update atanh (#188225)
DeltaFile
+29-81libclc/clc/lib/generic/math/clc_atanh.inc
+6-5libclc/clc/lib/generic/math/clc_atanh.cl
+35-862 files

LLVM/project 8b22416libclc/clc/include/clc/math clc_ep_log_decl.inc clc_ep_log.h, libclc/clc/lib/generic/math clc_acosh.inc clc_ep_log.inc

libclc: Update acosh (#188224)

libclc: Update acosh

This was originally ported from rocm device libs
in ca4d382e119e1389c83dbb07d9ca0085e88b2944. Merge in
more recent changes.

Remove unused ep_log.
DeltaFile
+24-88libclc/clc/lib/generic/math/clc_acosh.inc
+0-81libclc/clc/lib/generic/math/clc_ep_log.inc
+0-23libclc/clc/lib/generic/math/clc_ep_log.cl
+0-16libclc/clc/include/clc/math/clc_ep_log_decl.inc
+4-11libclc/clc/lib/generic/math/clc_acosh.cl
+0-15libclc/clc/include/clc/math/clc_ep_log.h
+28-2341 files not shown
+28-2357 files

LLVM/project b7bb1f9llvm/include/llvm/CodeGen Rematerializer.h, llvm/lib/CodeGen Rematerializer.cpp

Address review feedback
DeltaFile
+35-26llvm/include/llvm/CodeGen/Rematerializer.h
+7-6llvm/lib/CodeGen/Rematerializer.cpp
+42-322 files

LLVM/project 2857f3bclang/lib/Sema SemaSYCL.cpp, clang/test/ASTSYCL ast-dump-sycl-kernel-call-stmt.cpp

[clang][SYCL] Strip references from generated kernel argument types (#186788)

Prior to this patch kernel generation copied kernel argument types
exactly as they're written in function's signature of the function
attributed with [[clang::sycl_kernel_entry_point]] attribute. This
caused generation of kernels that have reference kernel argument instead
of byval kernel argument.
SYCL 2020 doesn't allow reference kernel arguments and it doesn't seem
to work with the backends.
Arguments to [[clang::sycl_kernel_entry_point]]-attributed function can
be big, so we preserve references during host code generation to avoid
performance issues in SYCL Runtime library implementation because the
same function will be used for actual kernel argument setting via
sycl_kernel_launch interface.
Note that we still need to diagnose references in user's kernel
arguments since they are explicitly not allowed by SYCL 2020 spec and
this task is in TODO list. This patch simply removes references from
types written in SYCL Runtime library.

Assisted-by: claude in test writing.
DeltaFile
+291-0clang/test/CodeGenSYCL/kernel-caller-entry-point.cpp
+5-5clang/lib/Sema/SemaSYCL.cpp
+2-2clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
+298-73 files

LLVM/project 582cb5bllvm/lib/Target/AMDGPU VOP3PInstructions.td GCNVOPDUtils.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.fdot2.ll llvm.amdgcn.fdot2.f32.bf16.ll

AMDGPU: Codegen for v_dual_dot2acc_f32_f16/bf16 from VOP3

Codegen for v_dual_dot2acc_f32_f16/bf16 for targets that only have VOP3
version of the instruction.
Since there is no VOP2 version, instroduce temporary mir DOT2ACC pseudo
that is selected when there are no src_modifiers. This DOT2ACC pseudo
has src2 tied to dst (like the VOP2 version), PostRA pseudo expansion will
restore pseudo to VOP3 version of the instruction.
CreateVOPD will recoginize such VOP3 pseudo and generate v_dual_dot2acc.
DeltaFile
+166-489llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+96-95llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+31-4llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+19-1llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+15-0llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+10-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+337-5893 files not shown
+346-5919 files

LLVM/project 35e650ellvm/test/CodeGen/AArch64 arm64-vmul.ll

[AArch64][GlobalISel] Add test for v4i32 vector extract sqdmlal/sqdmlsl

1. Tests only test v4i32 versions of the intrinsic, as v2i32 currently doesn't work.
2. GlobalISel currently generates poor code in the sqdmlsl case. To fix, the sqdmlalvi64_indexed pattern needs to be copied over for sqdmlsl.
DeltaFile
+42-6llvm/test/CodeGen/AArch64/arm64-vmul.ll
+42-61 files

LLVM/project f3124e4flang/lib/Lower/OpenMP OpenMP.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Address review comments: mark unused param and move var decl

- Mark the unused 'clauses' parameter in TaskloopOp::build with
  [[maybe_unused]]
- Move the declaration of 'wrapperClauseOps' in genStandaloneTaskloop
  to immediately before its first use

Assisted-by: Copilot, Claude Sonnet 4.6
DeltaFile
+1-1flang/lib/Lower/OpenMP/OpenMP.cpp
+1-1mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+2-22 files

LLVM/project ad39e5amlir/docs/Bindings Python.md

[MLIR][Python][Docs] Fix example of Python-defined dialects (#188174)

Some breaking changes are introduced in #186574 for Python-defined
dialects. So we need to fix the example in the docs.
DeltaFile
+2-2mlir/docs/Bindings/Python.md
+2-21 files

LLVM/project 7d39664llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp SelectionDAGBuilder.cpp, llvm/test/CodeGen/AArch64 sve-mask-partition.ll intrinsic-cttz-elts-sve.ll

Revert "[SelectionDAG] Expand CTTZ_ELTS[_ZERO_POISON] and handle splitting" (#188220)

Reverts llvm/llvm-project#185605

Buildbot failures caused by ISel crashes in
https://lab.llvm.org/buildbot/#/builders/157/builds/45416 and
https://lab.llvm.org/buildbot/#/builders/10/builds/25156
DeltaFile
+24-412llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-elts.ll
+203-53llvm/test/CodeGen/AArch64/sve-mask-partition.ll
+98-33llvm/test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll
+91-24llvm/test/CodeGen/RISCV/rvv/cttz-elts.ll
+2-59llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+45-3llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+463-58410 files not shown
+485-64616 files

LLVM/project f7c2782libunwind/src libunwind.cpp, libunwind/test set_non_null_pc_outside_of_function_cfi_bounds.pass.cpp libunwind_01.pass.cpp

[libunwind][PAC] Defang ptrauth's PC in valid CFI range abort

It turns out making the CFI check a release mode abort causes many,
if not the majority, of JITs to fail during unwinding as they do not
set up CFI sections for their generated code. As a result any JITs
that do nominally support unwinding (and catching) through their JIT
or assembly frames trip this abort.

rdar://170862047
DeltaFile
+48-0libunwind/test/set_non_null_pc_outside_of_function_cfi_bounds.pass.cpp
+13-17libunwind/src/libunwind.cpp
+8-1libunwind/test/libunwind_01.pass.cpp
+69-183 files

LLVM/project fcdd4d2libclc/clc/lib/generic/math clc_atanh.inc clc_atanh.cl

libclc: Update atanh
DeltaFile
+29-81libclc/clc/lib/generic/math/clc_atanh.inc
+6-5libclc/clc/lib/generic/math/clc_atanh.cl
+35-862 files

LLVM/project c7b8f25libclc/clc/include/clc/math clc_ep_log_decl.inc clc_ep_log.h, libclc/clc/lib/generic CMakeLists.txt

Remove unused ep_log
DeltaFile
+0-81libclc/clc/lib/generic/math/clc_ep_log.inc
+0-23libclc/clc/lib/generic/math/clc_ep_log.cl
+0-16libclc/clc/include/clc/math/clc_ep_log_decl.inc
+0-15libclc/clc/include/clc/math/clc_ep_log.h
+0-1libclc/clc/lib/generic/CMakeLists.txt
+0-1365 files

LLVM/project 217a3eflibclc/clc/lib/generic/math clc_acosh.inc clc_acosh.cl

libclc: Update acosh

This was originally ported from rocm device libs
in ca4d382e119e1389c83dbb07d9ca0085e88b2944. Merge in
more recent changes.
DeltaFile
+24-88libclc/clc/lib/generic/math/clc_acosh.inc
+4-11libclc/clc/lib/generic/math/clc_acosh.cl
+28-992 files

LLVM/project 80245f3libclc/clc/lib/generic/math clc_asinh.inc clc_asinh.cl

libclc: Update asinh (#188219)

This was originally ported from rocm device libs in
2b4ef39b2f46acf29294f1fbb223ea5a243c2567. Merge in more
recent changes.
DeltaFile
+30-286libclc/clc/lib/generic/math/clc_asinh.inc
+6-7libclc/clc/lib/generic/math/clc_asinh.cl
+36-2932 files

LLVM/project 25da0c8llvm/unittests/Support FormatVariadicTest.cpp

[llvm][DebugInfo] Make to be formatted test value 64-bit (#188211)
DeltaFile
+2-2llvm/unittests/Support/FormatVariadicTest.cpp
+2-21 files

LLVM/project 7fd6659llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp SelectionDAGBuilder.cpp, llvm/test/CodeGen/AArch64 sve-mask-partition.ll intrinsic-cttz-elts-sve.ll

Revert "[SelectionDAG] Expand CTTZ_ELTS[_ZERO_POISON] and handle splitting (#…"

This reverts commit fe105347e2b6092ef4ce9704bcbdbcf6ad7d3d6b.
DeltaFile
+24-412llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-elts.ll
+203-53llvm/test/CodeGen/AArch64/sve-mask-partition.ll
+98-33llvm/test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll
+91-24llvm/test/CodeGen/RISCV/rvv/cttz-elts.ll
+2-59llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+45-3llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+463-58410 files not shown
+485-64616 files

LLVM/project 36643f3libclc/clc/lib/generic/math clc_asinh.inc clc_asinh.cl

libclc: Update asinh

This was originally ported from rocm device libs in
2b4ef39b2f46acf29294f1fbb223ea5a243c2567. Merge in more
recent changes.
DeltaFile
+30-286libclc/clc/lib/generic/math/clc_asinh.inc
+6-7libclc/clc/lib/generic/math/clc_asinh.cl
+36-2932 files

LLVM/project fcc9ce9llvm/lib/DebugInfo/BTF BTFParser.cpp

[llvm][DebugInfo] BTFParser use formatv instead of format (#186109)

This relates to #35980.
DeltaFile
+21-17llvm/lib/DebugInfo/BTF/BTFParser.cpp
+21-171 files

LLVM/project f046f45libclc/clc/lib/generic/math clc_tanh.inc clc_tanh.cl

libclc: Update tanh (#188215)

This was originally ported from rocm device libs in
f51df5ba8c4512dbeb7828ac0c34f89177b551d6. Merge in more
recent changes.
DeltaFile
+36-112libclc/clc/lib/generic/math/clc_tanh.inc
+6-7libclc/clc/lib/generic/math/clc_tanh.cl
+42-1192 files

LLVM/project 3286de3llvm/lib/DebugInfo/DWARF DWARFCompileUnit.cpp

[llvm][DebugInfo] DWARFCompileUnit use formatv instead of format (#186761)

This relates to #35980.
DeltaFile
+12-8llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
+12-81 files

LLVM/project f1931cbllvm/lib/DebugInfo/DWARF DWARFDebugAddr.cpp DWARFDebugArangeSet.cpp

[llvm][DebugInfo] Use formatv instead of format in DebugAbbrev/Addr/ArangeSet (#186768)

This relates to #35980.
DeltaFile
+12-9llvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
+11-6llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
+2-1llvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
+25-163 files

LLVM/project aeba5d6libclc/clc/lib/generic/math clc_cosh.inc clc_cosh.cl

libclc: Update cosh (#188214)

This was originally ported from rocm device libs in
9cb070f96a8a9af5f513ffba0a8eed362623f216. Merge in more
recent changes.
DeltaFile
+19-172libclc/clc/lib/generic/math/clc_cosh.inc
+3-9libclc/clc/lib/generic/math/clc_cosh.cl
+22-1812 files

LLVM/project c15edf8libc/shared/math cbrtf.h

[libc] cbrtf guard to sync with general format (#188207)

This PR intends to make the cbrtf guard sync with the general format (
as other functions consistently use `LLVM_LIBC_SHARED_MATH_<func>_H`).
This was found during refactoring cbrtbf16.
DeltaFile
+3-3libc/shared/math/cbrtf.h
+3-31 files

LLVM/project d491f70libclc/clc/include/clc/math clc_ep_decl.inc, libclc/clc/lib/generic/math clc_sinh.inc clc_ep.inc

libclc: Update sinh (#188213)

This was originally ported from rocm device libs in
9f7172965c650627c020264e9dbdb32d005ce69e. Merge in more
recent changes.
DeltaFile
+22-176libclc/clc/lib/generic/math/clc_sinh.inc
+78-0libclc/clc/lib/generic/math/clc_ep.inc
+3-9libclc/clc/lib/generic/math/clc_sinh.cl
+3-0libclc/clc/include/clc/math/clc_ep_decl.inc
+106-1854 files

LLVM/project 3837cf1llvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis weak-zero-siv-delta-signed-min.ll

[DA] Stop negating Delta in the Weak Zero SIV test
DeltaFile
+0-12llvm/lib/Analysis/DependenceAnalysis.cpp
+6-6llvm/test/Analysis/DependenceAnalysis/weak-zero-siv-delta-signed-min.ll
+6-182 files

LLVM/project 524ddb1llvm/lib/Analysis DependenceAnalysis.cpp

[DA] Remove absolute value calculations in the Weak Zero SIV tests
DeltaFile
+7-7llvm/lib/Analysis/DependenceAnalysis.cpp
+7-71 files

LLVM/project be25c1dmlir/include/mlir/Dialect/Arith/IR ArithOps.td, mlir/lib/Conversion/ArithToLLVM ArithToLLVM.cpp

address comments
DeltaFile
+33-115mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
+35-79mlir/test/Dialect/Arith/ops.mlir
+18-32mlir/lib/Conversion/ArithToLLVM/ArithToLLVM.cpp
+48-0mlir/test/Dialect/Arith/invalid.mlir
+9-9mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
+15-0mlir/test/Conversion/ArithToLLVM/convert-nd-vector-to-llvmir.mlir
+158-2351 files not shown
+166-2387 files

LLVM/project 695e00clibclc/clc/lib/generic/math clc_cosh.inc clc_cosh.cl

libclc: Update cosh

This was originally ported from rocm device libs in
9cb070f96a8a9af5f513ffba0a8eed362623f216. Merge in more
recent changes.
DeltaFile
+19-172libclc/clc/lib/generic/math/clc_cosh.inc
+3-9libclc/clc/lib/generic/math/clc_cosh.cl
+22-1812 files

LLVM/project 84582ddlibclc/clc/include/clc/math clc_ep_decl.inc, libclc/clc/lib/generic/math clc_sinh.inc clc_ep.inc

libclc: Update sinh

This was originally ported from rocm device libs in
9f7172965c650627c020264e9dbdb32d005ce69e. Merge in more
recent changes.
DeltaFile
+22-176libclc/clc/lib/generic/math/clc_sinh.inc
+78-0libclc/clc/lib/generic/math/clc_ep.inc
+3-9libclc/clc/lib/generic/math/clc_sinh.cl
+3-0libclc/clc/include/clc/math/clc_ep_decl.inc
+106-1854 files

LLVM/project 1b255eflibclc/clc/lib/generic/math clc_expm1.inc clc_expm1.cl

libclc: Update expm1 (#188209)

This was originally ported from rocm device libs in
900bd7eb7f5426ad13f624cbf29716afe376c878. Merge in more
recent changes.
DeltaFile
+67-126libclc/clc/lib/generic/math/clc_expm1.inc
+4-0libclc/clc/lib/generic/math/clc_expm1.cl
+1-0libclc/clc/lib/generic/math/clc_ep.cl
+72-1263 files