This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Relax masked_vectorize(pad) to allow zero low Values.
ClosedPublic

Authored by hanchung on Apr 28 2023, 11:20 AM.

Details

Summary

It only accepted zeros attributes before the revision. It now acccepts
constant-like zero values as well.

Diff Detail

Event Timeline

hanchung created this revision.Apr 28 2023, 11:20 AM
Herald added a project: Restricted Project. · View Herald Transcript
hanchung requested review of this revision.Apr 28 2023, 11:20 AM
hanchung updated this revision to Diff 518009.Apr 28 2023, 11:52 AM

fix lit test

dcaballe accepted this revision.May 1 2023, 10:12 AM
dcaballe added inline comments.
mlir/test/Dialect/Linalg/vectorization.mlir
2852

Could you add another test with a non-constant symbol?

This revision is now accepted and ready to land.May 1 2023, 10:12 AM
hanchung updated this revision to Diff 518502.May 1 2023, 11:28 AM

add a test