Page MenuHomePhabricator

[Matrix] Run simple version of lowering in backend.
AcceptedPublic

Authored by fhahn on Mar 26 2020, 9:05 AM.

Details

Summary

The lowering of the matrix intrinsics is done by the
LowerMatrixIntrinsics pass, which usually runs as part of the
middle-end. The backends do not know how to lower the various matrix
intrinsics however. To avoid llc crashing on IR containing matrix
intrinsics we run a simple/minimal lowering pass, which has no
dependencies besides TTI unconditionally. It will be a no-op for
functions not marked with the may-contain-matrix-intrinsics attribute.

Fixes PR45227.

Diff Detail

Event Timeline

fhahn created this revision.Mar 26 2020, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 26 2020, 9:05 AM
This revision is now accepted and ready to land.Mar 26 2020, 9:18 AM