[all-commits] [llvm/llvm-project] 370d01: [Matrix] Use shape info for StoreInst directly. (#...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jun 4 01:16:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 370d01765c96da019e7970e875ce525819896464
      https://github.com/llvm/llvm-project/commit/370d01765c96da019e7970e875ce525819896464
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    A llvm/test/Transforms/LowerMatrixIntrinsics/transpose-fold-store.ll

  Log Message:
  -----------
  [Matrix] Use shape info for StoreInst directly. (#142664)

ShapeInfo for the store operand may be dropped, e.g. because the operand
got folded by transpose optimizations to another instruction w/o shape
info. This was exposed by the assertion added in
https://github.com/llvm/llvm-project/pull/142416.

This updates VisitStore to use the shape-info directly from the
instruction, which is in line with the other Visit* functions and
ensures that we won't lose shape info.

PR: https://github.com/llvm/llvm-project/pull/142664



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