[all-commits] [llvm/llvm-project] e89649: [mlir][Vector] Move mask materialization patterns ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Dec 14 07:37:31 PST 2024


  Branch: refs/heads/users/matthias-springer/mask_mat
  Home:   https://github.com/llvm/llvm-project
  Commit: e89649728065d24533dfe752425c2682cedfb118
      https://github.com/llvm/llvm-project/commit/e89649728065d24533dfe752425c2682cedfb118
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-12-14 (Sat, 14 Dec 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-xfer-to-llvm.mlir

  Log Message:
  -----------
  [mlir][Vector] Move mask materialization patterns to greedy rewrite

The mask materialization patterns during `VectorToLLVM` are rewrite patterns. They should run as part of the greedy pattern rewrite and not the dialect conversion. (Rewrite patterns and conversion patterns are not generally compatible.)

The current combination of rewrite patterns and conversion patterns triggered an edge case when merging the 1:1 and 1:N dialect conversions.



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