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

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


  Branch: refs/heads/users/matthias-springer/mask_mat
  Home:   https://github.com/llvm/llvm-project
  Commit: bf0d13553b2bc2124a266e398976ba80a1114580
      https://github.com/llvm/llvm-project/commit/bf0d13553b2bc2124a266e398976ba80a1114580
  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