This is an archive of the discontinued LLVM Phabricator instance.

[mlir][amx] regression test for tile-muli (all zero/sign-extension combinations)
ClosedPublic

Authored by aartbik on Mar 16 2021, 1:57 PM.

Diff Detail

Event Timeline

aartbik created this revision.Mar 16 2021, 1:57 PM
aartbik requested review of this revision.Mar 16 2021, 1:57 PM

Thanks, Aart! LGTM. Just minor comments.

mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
7

There's probably nothing for AMX but there is a way to specify lit test requirements. For example, we have tests in LLVM with:

; REQUIRES: x86-registered-target

that won't execute if the x86 target is not registered. Honestly, I don't know how this mechanism works but maybe it's worth having a look.

23

nit: indentation, here and below.

aartbik marked 2 inline comments as done.Mar 16 2021, 4:09 PM
aartbik added inline comments.
mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
7

Yes, thanks for this pointer. For now, this test is configured with MLIR_RUN_AMX_TESTS and a path to an emulator, but in the long run, we need to automatize the runs of course.

aartbik updated this revision to Diff 331123.Mar 16 2021, 4:13 PM
aartbik marked an inline comment as done.

fixed layout of parameters

ftynse accepted this revision.Mar 17 2021, 3:27 AM
This revision is now accepted and ready to land.Mar 17 2021, 3:27 AM