[all-commits] [llvm/llvm-project] 683251: [mlir][Vector] Fold `vector.extract` from poison v...

Diego Caballero via All-commits all-commits at lists.llvm.org
Fri Feb 7 10:20:30 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68325148d32edc70d85018364c5cb04432e5bd52
      https://github.com/llvm/llvm-project/commit/68325148d32edc70d85018364c5cb04432e5bd52
  Author: Diego Caballero <dieg0ca6aller0 at gmail.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

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

  Log Message:
  -----------
  [mlir][Vector] Fold `vector.extract` from poison vector (#126122)

This PR adds a folder for `vector.extract(ub.poison) -> ub.poison`. It
also replaces `create` with `createOrFold` insert/extract ops in vector
unroll and transpose lowering patterns to trigger the poison foldings
introduced recently.



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