This is an archive of the discontinued LLVM Phabricator instance.

[mlir][index] Mark certain ops as Commutative
ClosedPublic

Authored by Mogball on Jun 25 2023, 5:50 PM.

Details

Summary

Mark the relevant index dialect operations as Commutative. Specifically,
this allows the folder to move constant operands to the RHS.

Diff Detail