This is an archive of the discontinued LLVM Phabricator instance.

[mlir][index] Add and, or, and xor ops
ClosedPublic

Authored by lboasso on Nov 23 2022, 10:06 AM.

Details

Summary

This patch adds the and, or, and xor bitwise operations to
the index dialects with folders and LLVM lowerings.

Diff Detail

Event Timeline

lboasso created this revision.Nov 23 2022, 10:06 AM
lboasso requested review of this revision.Nov 23 2022, 10:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 23 2022, 10:06 AM
lboasso updated this revision to Diff 477552.Nov 23 2022, 10:12 AM

I uploaded the wrong patch before, this is the correct one.

rriddle accepted this revision.Nov 23 2022, 10:20 AM
rriddle added inline comments.
mlir/include/mlir/Dialect/Index/IR/IndexOps.td
354

The formatting here looks off.

358–361
373

Same as AndOp, and throughout this commit.

This revision is now accepted and ready to land.Nov 23 2022, 10:20 AM
lboasso requested review of this revision.Nov 23 2022, 10:39 AM
lboasso marked 3 inline comments as done.

Sorry my editor tried to format IndexOps.td. It should be better now.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 23 2022, 11:27 AM
This revision was automatically updated to reflect the committed changes.