This is an archive of the discontinued LLVM Phabricator instance.

[mlir][ArmSME] Extend arm_sme.zero for all types
ClosedPublic

Authored by c-rhodes on Aug 3 2023, 2:46 AM.

Details

Summary

The arm_sme.zero op currently only supports 8-bit element tiles. This
extends the op and lowering from 'arith.constant dense<0>' ->
'arm_sme.zero' to support all tile types.

The lowering from arm_sme.zero to intrinsics is not updated as part of
this patch and will be done separately.

Diff Detail

Event Timeline

c-rhodes created this revision.Aug 3 2023, 2:46 AM
Herald added a project: Restricted Project. · View Herald Transcript
c-rhodes requested review of this revision.Aug 3 2023, 2:46 AM
dcaballe accepted this revision.Aug 8 2023, 2:25 PM

Thanks!

mlir/test/Dialect/ArmSME/vector-ops-to-sme.mlir
159

I would suggest that we move this to a different file to avoid future refactorings.

This revision is now accepted and ready to land.Aug 8 2023, 2:25 PM
awarzynski accepted this revision.Aug 11 2023, 5:45 AM

LG, thanks!

mlir/test/Dialect/ArmSME/vector-ops-to-sme.mlir
159

+1

Let me land this as is (Cullen is on leave) and I will move these tests in a follow-up NFC patch.

This revision was landed with ongoing or failed builds.Aug 11 2023, 5:46 AM
This revision was automatically updated to reflect the committed changes.