[all-commits] [llvm/llvm-project] ad9630: Fix bazel build for QuantDialectBytecodeGen (cause...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Mar 24 06:20:24 PDT 2025


  Branch: refs/heads/users/alexey-bataev/spr/slpfix-perfect-diamond-match-with-extractelements-in-scalars
  Home:   https://github.com/llvm/llvm-project
  Commit: ad9630d5ee657dd24015afe70016def0c41061fb
      https://github.com/llvm/llvm-project/commit/ad9630d5ee657dd24015afe70016def0c41061fb
  Author: Karlo Basioli <68535415+basioli-k at users.noreply.github.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Fix bazel build for QuantDialectBytecodeGen (caused by #120172) (#132716)


  Commit: c7f14f601f36f8fdabb9182e253add18a471308f
      https://github.com/llvm/llvm-project/commit/c7f14f601f36f8fdabb9182e253add18a471308f
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp

  Log Message:
  -----------
  [clang][bytecode] Implement __builtin_wcschr (#132708)

This is already almost implemented, just need to enable support for it.


  Commit: d536d134276f667881917c9d3a32dcdeff683560
      https://github.com/llvm/llvm-project/commit/d536d134276f667881917c9d3a32dcdeff683560
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M llvm/test/CodeGen/X86/x86-64-double-shifts-var.ll

  Log Message:
  -----------
  [X86] x86-64-double-shifts-var.ll - regenerate with update_llc_test_checks script to show full codegen


  Commit: bf2d30e0927b6b137bf4cc7bf32cd74d8092b0ee
      https://github.com/llvm/llvm-project/commit/bf2d30e0927b6b137bf4cc7bf32cd74d8092b0ee
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    A clang/test/CodeGen/AArch64/fmv-detection.c
    M clang/test/CodeGen/AArch64/fmv-mix-explicit-implicit-default.c
    M clang/test/CodeGen/AArch64/fmv-resolver-emission.c
    R clang/test/CodeGen/attr-target-version.c

  Log Message:
  -----------
  [NFC][FMV][AArch64] Tidy up codegen tests. (#132273)

Removes attr-target-version.c which doesn't have a clear purpose.
Introduces AArch64/fmv-detection.c to check detection bitmasks.
Adds coverage in AArch64/fmv-resolver-emission.c


  Commit: 9ab3b6a006d8b5c831146eb8a7f0a8df616bd5ad
      https://github.com/llvm/llvm-project/commit/9ab3b6a006d8b5c831146eb8a7f0a8df616bd5ad
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp

  Log Message:
  -----------
  [clang][bytecode] Diagnose integral source/dest in memcpy (#132715)

Like the current interpreter does.


  Commit: 8a8e4cfc0bb05a794b9b3a8da12927f3db5996de
      https://github.com/llvm/llvm-project/commit/8a8e4cfc0bb05a794b9b3a8da12927f3db5996de
  Author: David CARLIER <devnexen at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp

  Log Message:
  -----------
  [compiler-rt][rtsan] Linux timerfd api interception. (#132709)


  Commit: 91140e6a514588ae50f4734761ab2cafff907939
      https://github.com/llvm/llvm-project/commit/91140e6a514588ae50f4734761ab2cafff907939
  Author: Letu Ren <fantasquex at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/test/Target/LLVMIR/Import/intrinsic.ll
    M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir

  Log Message:
  -----------
  [mlir][llvm] Add llvm.intr.exp10 operation (#129378)


  Commit: 071643f339a05044bdc2b236ca958d4689c6dd8a
      https://github.com/llvm/llvm-project/commit/071643f339a05044bdc2b236ca958d4689c6dd8a
  Author: Letu Ren <fantasquex at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/test/Target/LLVMIR/Import/intrinsic.ll
    M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir

  Log Message:
  -----------
  [mlir][llvm] Add `llvm.experimental.constrained.fpext` operation (#129054)

Ref: https://github.com/llvm/llvm-project/pull/86260


  Commit: 997707172f67a9904698207b40f336923c3ef39a
      https://github.com/llvm/llvm-project/commit/997707172f67a9904698207b40f336923c3ef39a
  Author: Karlo Basioli <68535415+basioli-k at users.noreply.github.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel

  Log Message:
  -----------
  Fix blaze build caused by commit #5d8e8e8 (#132719)


  Commit: 94783a8199c5e589d8efd6d4530482d72bf98f4d
      https://github.com/llvm/llvm-project/commit/94783a8199c5e589d8efd6d4530482d72bf98f4d
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M mlir/lib/Dialect/Mesh/Transforms/ShardingPropagation.cpp
    A mlir/test/Dialect/Mesh/sharding-propagation-failed.mlir

  Log Message:
  -----------
  [mlir][mesh] Exit after `signalPassFailure` to fix a crash (#132662)

Fixes #131435.


  Commit: cf0efb31880dab5f5b2f20bda6634c68a42d6908
      https://github.com/llvm/llvm-project/commit/cf0efb31880dab5f5b2f20bda6634c68a42d6908
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm-interface.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Decouple unrolling gather and gather to llvm lowering (#132206)

This patch decouples unrolling vector.gather and lowering vector.gather
to llvm.masked.gather.

This is consistent with how vector.load, vector.store,
vector.maskedload, vector.maskedstore lower to LLVM.

Some interesting test changes from this patch:

- 2D vector.gather lowering to llvm tests are deleted. This is
consistent with other memory load/store ops.
- There are still tests for 2D vector.gather, but the constant mask for
these test is modified. This is because with the updated lowering, one
of the unrolled vector.gather disappears because it is masked off (also
demonstrating why this is a better lowering path)

Overall, this makes vector.gather take the same consistent path for
lowering to LLVM as other load/store ops.

Discourse Discussion:
https://discourse.llvm.org/t/rfc-improving-gather-codegen-for-vector-dialect/85011/13


  Commit: 2f2c02e671d649b5326bb81fd82cfa93ee1be400
      https://github.com/llvm/llvm-project/commit/2f2c02e671d649b5326bb81fd82cfa93ee1be400
  Author: Karlo Basioli <68535415+basioli-k at users.noreply.github.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel

  Log Message:
  -----------
  Fix bazel build unique function test caused by #ef3e521 (#132726)


  Commit: 4fa5ab382e34b35cab71c0485196f47700d3b5e7
      https://github.com/llvm/llvm-project/commit/4fa5ab382e34b35cab71c0485196f47700d3b5e7
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/GenericLoopConversion.cpp
    M flang/test/Lower/OpenMP/loop-directive.f90

  Log Message:
  -----------
  [flang][OpenMP] Skip multi-block `teams` regions when processing `loop` directives (#132687)

Fixes a regression when the generic `loop` directive conversion pass
encounters a multi-block `teams` region. At the moment, we skip such
regions.


  Commit: ef56f4b5a0e3760e0c1c847999180718be93a1db
      https://github.com/llvm/llvm-project/commit/ef56f4b5a0e3760e0c1c847999180718be93a1db
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/PrivateReductionUtils.cpp
    M flang/lib/Lower/OpenMP/PrivateReductionUtils.h
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    M flang/test/Lower/OpenMP/parallel-reduction-allocatable-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array-lb.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array2.f90
    M flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction3.f90
    M flang/test/Lower/OpenMP/reduction-array-intrinsic.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-allocatable-array-minmax.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-array-lb.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-array-lb2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-multiple-clauses.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix reduction of arrays with non-default lower bounds (#132228)

Using LoopNest's indices with ShapeShifts that have non-default
lower bounds results in accesses to incorrect array elements.
To avoid having to adjust each index, a ShapeShift with default
lower bounds can be used instead.

Fixes #131751


  Commit: e60fe2e5840229839e7e1e24971dd38d31b22ed8
      https://github.com/llvm/llvm-project/commit/e60fe2e5840229839e7e1e24971dd38d31b22ed8
  Author: flovent <144676429+flovent at users.noreply.github.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
    M clang/test/Analysis/invalidated-iterator.cpp

  Log Message:
  -----------
  [clang][analyzer] Fix InvalidatedIterator crash caused by overload operator member function with explicit this (#132581)

Fixes #116372

>From this PR #83585, CSA starts to model overload operator member
function with explicit this as `SimpleFunctionCall` rather than
`CXXMemberOperatorCall` (derived from `CXXInstanceCall`), so
`CXXInstanceCall` only represents a non-static C++ member function call
`with implicit this`.

For this checker, it models `operator=` for STL containers, which always
uses implicit this, so the situation using explicit this can be skipped
directly.


  Commit: 24a8e18f5a1dfddf7c9a0704a1ccb96a235d3767
      https://github.com/llvm/llvm-project/commit/24a8e18f5a1dfddf7c9a0704a1ccb96a235d3767
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Dialect/Vector/invalid.mlir
    M mlir/test/Dialect/Vector/ops.mlir

  Log Message:
  -----------
  [mlir][vector] Allow multi dim vectors in vector.scatter (#132217)

This patch matches the definition of vector.scatter as a counter part of
vector.gather.

All of the changes done in this patch make vector.scatter match
vector.gather 's multi dimensional definition.

Unrolling for vector.scatter will be implemented in subsequent patches.

Discourse Discussion:
https://discourse.llvm.org/t/rfc-improving-gather-codegen-for-vector-dialect/85011/13


  Commit: dc28e0d5d24364de311a3dc432edfd8bb122560a
      https://github.com/llvm/llvm-project/commit/dc28e0d5d24364de311a3dc432edfd8bb122560a
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorBroadcast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorShapeCast.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/scalar-vector-transfer-to-memref.mlir
    M mlir/test/Dialect/Vector/vector-shape-cast-lowering-transforms.mlir

  Log Message:
  -----------
  [mlir][Vector] Remove more special case uses for extractelement/insertelement (#130166)

A number of places in our codebase special case to use
extractelement/insertelement for 0D vectors, because extract/insert did
not support 0D vectors previously. Since insert/extract support 0D
vectors now, use them instead of special casing.


  Commit: f3fa54a191d47809c3385bc655d1d42e6732a212
      https://github.com/llvm/llvm-project/commit/f3fa54a191d47809c3385bc655d1d42e6732a212
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Vector] Handle 0-rank case in fold instead of RewriterPattern (#130168)

For vector.extract, the folder always canonicalizes to a vector.extract
operation, while the rewrite pattern canonicalizes to a vector.broadcast
except in the case of 0-rank vectors.

Remove this special casing, and instead handle the 0-rank vector case in
the folder.


  Commit: 29e5a7115440f910cb20953487b5c481160799a0
      https://github.com/llvm/llvm-project/commit/29e5a7115440f910cb20953487b5c481160799a0
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp
    M clang/test/Analysis/invalidated-iterator.cpp
    A clang/test/CodeGen/AArch64/fmv-detection.c
    M clang/test/CodeGen/AArch64/fmv-mix-explicit-implicit-default.c
    M clang/test/CodeGen/AArch64/fmv-resolver-emission.c
    R clang/test/CodeGen/attr-target-version.c
    M compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
    M flang/lib/Lower/OpenMP/PrivateReductionUtils.cpp
    M flang/lib/Lower/OpenMP/PrivateReductionUtils.h
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    M flang/lib/Optimizer/OpenMP/GenericLoopConversion.cpp
    M flang/test/Lower/OpenMP/loop-directive.f90
    M flang/test/Lower/OpenMP/parallel-reduction-allocatable-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array-lb.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array2.f90
    M flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction3.f90
    M flang/test/Lower/OpenMP/reduction-array-intrinsic.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-allocatable-array-minmax.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-array-lb.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-array-lb2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-multiple-clauses.f90
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/CodeGen/X86/x86-64-double-shifts-var.ll
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    M mlir/lib/Dialect/Mesh/Transforms/ShardingPropagation.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorBroadcast.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
    M mlir/lib/Dialect/Vector/Transforms/LowerVectorShapeCast.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm-interface.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    A mlir/test/Dialect/Mesh/sharding-propagation-failed.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/invalid.mlir
    M mlir/test/Dialect/Vector/ops.mlir
    M mlir/test/Dialect/Vector/scalar-vector-transfer-to-memref.mlir
    M mlir/test/Dialect/Vector/vector-shape-cast-lowering-transforms.mlir
    M mlir/test/Target/LLVMIR/Import/intrinsic.ll
    M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
    M utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Rebase, address comments

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/4f71b28effdb...29e5a7115440

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list