[all-commits] [llvm/llvm-project] c24c23: [NFC][mlir][vector] Handle potential static cast a...

Md Asghar Ahmad Shahid via All-commits all-commits at lists.llvm.org
Mon Aug 18 20:57:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c24c23d9ab66e9a1bf6bb3468cdfe39f22872362
      https://github.com/llvm/llvm-project/commit/c24c23d9ab66e9a1bf6bb3468cdfe39f22872362
  Author: Md Asghar Ahmad Shahid <md.asghar.ahmad.shahid at intel.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

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

  Log Message:
  -----------
  [NFC][mlir][vector] Handle potential static cast assertion. (#152957)

In FoldArithToVectorOuterProduct pattern, static cast to vector type
causes assertion when a scalar type was encountered. It seems the author
meant to have a dyn_cast instead.

This NFC patch handles it by using dyn_cast.



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