[all-commits] [llvm/llvm-project] 56ada0: [mlir][vector] Use dyn_cast instead of cast in pat...

Lei Zhang via All-commits all-commits at lists.llvm.org
Mon Nov 8 09:38:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56ada0f80df26a09a0e84a67720efd916633b1f3
      https://github.com/llvm/llvm-project/commit/56ada0f80df26a09a0e84a67720efd916633b1f3
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Use dyn_cast instead of cast in patterns

This avoids crashes when the pattern is applied to ops with
tensor semantics.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D113415




More information about the All-commits mailing list