[all-commits] [llvm/llvm-project] cbe0e5: [Matrix] Also run lowering during -O0.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jul 16 02:53:07 PDT 2020


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

  Changed paths:
    M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp

  Log Message:
  -----------
  [Matrix] Also run lowering during -O0.

Currently the backends cannot lower the matrix intrinsics directly and
rely on the lowering to vector instructions happening in the middle-end.
At the moment, this means the backend crashes when matrix types
extension code is compiled with -O0, e.g.
http://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-aarch64-O0-g/7902/

This patch enables also runs the lowering with -O0 in the middle-end as
a temporary solution. Long term, a lightweight version of the lowering
should run in the backend, on demand.




More information about the All-commits mailing list