[all-commits] [llvm/llvm-project] dc1087: [Matrix] Add minimal lowering pass that only requi...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jul 20 03:16:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dc1087d408a97911c4282b0e58364d8f0aec9263
      https://github.com/llvm/llvm-project/commit/dc1087d408a97911c4282b0e58364d8f0aec9263
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Transforms/Scalar.h
    M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    M llvm/lib/Transforms/Scalar/Scalar.cpp
    M llvm/test/Other/opt-O0-pipeline-enable-matrix.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-minimal.ll

  Log Message:
  -----------
  [Matrix] Add minimal lowering pass that only requires TTI.

This patch adds a new variant of the matrix lowering pass that only does
a minimal lowering and only depends on TTI. The main purpose of this pass
is to have a pass with minimal dependencies to run as part of the backend
pipeline.

At the moment, the only difference to the regular lowering pass is that it
does not support remarks. But in subsequent patches add support for tiling
to the lowering pass which will require more analysis, which we do not want
to run in the backend, as the lowering should happen in the middle-end in
practice and running it in the backend is mostly for convenience when
running llc.

Reviewers: anemet, Gerolf, efriedma, hfinkel

Reviewed By: anemet

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




More information about the All-commits mailing list