This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv][NFC] Clean up scf-to-spirv pass
ClosedPublic

Authored by kuhar on Mar 14 2023, 11:56 AM.

Details

Summary

This is a clean up before fixing issues identified in this pass by
https://github.com/llvm/llvm-project/issues/61380 and similar issues.

  • Move patterns definitions closer to declarations.
  • Simplify pattern definitions.
  • Drop hand-written pass constructor in favor of an auto-generated on.
  • Fix typos in pass description.

Diff Detail

Event Timeline

kuhar created this revision.Mar 14 2023, 11:56 AM
kuhar requested review of this revision.Mar 14 2023, 11:56 AM
antiagainst accepted this revision.Mar 14 2023, 3:05 PM
This revision is now accepted and ready to land.Mar 14 2023, 3:05 PM
This revision was automatically updated to reflect the committed changes.