Previously all SCF to SPIR-V conversion patterns were tested as
the -convert-gpu-to-spirv pass. That obscured the structure we
want. This commit fixed it.
Depends On D93468
Paths
| Differential D93488
[mlir][spirv] Create a pass for testing SCFToSPIRV patterns ClosedPublic Authored by antiagainst on Dec 17 2020, 12:59 PM.
Details Summary Previously all SCF to SPIR-V conversion patterns were tested as Depends On D93468
Diff Detail
Event Timelineantiagainst added a child revision: D93489: [mlir][spirv] NFC: rename SPIR-V conversion files for consistency.Dec 17 2020, 1:01 PM This revision is now accepted and ready to land.Dec 21 2020, 6:46 AM ThomasRaoux added inline comments.
antiagainst added inline comments.
Closed by commit rGa16fbff17d32: [mlir][spirv] Create a pass for testing SCFToSPIRV patterns (authored by antiagainst). · Explain WhyDec 23 2020, 11:32 AM This revision was automatically updated to reflect the committed changes. bgraur added a reverting change: D93896: Revert "[mlir][spirv] Create a pass for testing SCFToSPIRV patterns".Dec 29 2020, 3:34 AM
Revision Contents
Diff 312594 mlir/include/mlir/Conversion/Passes.h
mlir/include/mlir/Conversion/Passes.td
mlir/include/mlir/Conversion/SCFToSPIRV/SCFToSPIRVPass.h
mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
mlir/lib/Conversion/SCFToSPIRV/CMakeLists.txt
mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRVPass.cpp
mlir/test/Conversion/GPUToSPIRV/entry-point.mlir
mlir/test/Conversion/GPUToSPIRV/if.mlir
mlir/test/Conversion/GPUToSPIRV/loop.mlir
mlir/test/Conversion/GPUToSPIRV/test_spirv_entry_point.mlir
mlir/test/Conversion/SCFToSPIRV/for.mlir
mlir/test/Conversion/SCFToSPIRV/if.mlir
|
remove one blank line