[all-commits] [llvm/llvm-project] 625aa0: [Matrix] Use data layout index type for lowering m...

Nathan Corbyn via All-commits all-commits at lists.llvm.org
Mon Oct 13 04:40:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 625aa09fc3ce9e9f8715527b3c62533b10920b10
      https://github.com/llvm/llvm-project/commit/625aa09fc3ce9e9f8715527b3c62533b10920b10
  Author: Nathan Corbyn <me at nathancorbyn.com>
  Date:   2025-10-13 (Mon, 13 Oct 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    A llvm/test/Transforms/LowerMatrixIntrinsics/data-layout-multiply-fused.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/data-layout.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/strided-load-double.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/strided-store-double.ll

  Log Message:
  -----------
  [Matrix] Use data layout index type for lowering matrix intrinsics (#162646)

To properly support the matrix intrinsics on, e.g., 32-bit platforms
(without the need to emit `libc` calls), `LowerMatrixIntrinsics` pass
should generate code that performs strided index calculations using the
same pointer bit-width as the matrix pointers, as determined by the data
layout. This patch updates the `LowerMatrixInstrics` transform to make
this the case.

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



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