Files
clang-p2996/mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
Jakub Kuderski ab5eae0164 [mlir][spirv][NFC] Clean up scf-to-spirv pass
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.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D146077
2023-03-14 18:44:35 -04:00

2.1 KiB