Includes a lowering for tosa.const, tosa.if, and tosa.while to Standard/SCF dialects. TosaToStandard is
used for constant lowerings and TosaToSCF handles the if/while ops.
Resubmission of https://reviews.llvm.org/D97518 with ASAN fixes.
Paths
| Differential D97529
[MLIR][TOSA] Resubmit Tosa to Standard/SCF Lowerings (const, if, while)" ClosedPublic Authored by rsuderman on Feb 25 2021, 10:58 PM.
Details Summary Includes a lowering for tosa.const, tosa.if, and tosa.while to Standard/SCF dialects. TosaToStandard is Resubmission of https://reviews.llvm.org/D97518 with ASAN fixes.
Diff Detail
Event TimelineHerald added subscribers: cota, teijeong, rdzhabarov and 16 others. · View Herald TranscriptFeb 25 2021, 10:58 PM This revision is now accepted and ready to land.Feb 26 2021, 12:39 AM
Comment Actions Updated to expect only a single block and handle a single terminator. Also referred delayed deletion. This revision was landed with ongoing or failed builds.Feb 26 2021, 5:50 PM Closed by commit rG16abacaea9db: [MLIR][TOSA] Resubmit Tosa to Standard/SCF Lowerings (const, if, while)" (authored by rsuderman). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 326846 mlir/include/mlir/Conversion/Passes.h
mlir/include/mlir/Conversion/Passes.td
mlir/include/mlir/Conversion/TosaToSCF/TosaToSCF.h
mlir/include/mlir/Conversion/TosaToStandard/TosaToStandard.h
mlir/lib/Conversion/CMakeLists.txt
mlir/lib/Conversion/PassDetail.h
mlir/lib/Conversion/TosaToSCF/CMakeLists.txt
mlir/lib/Conversion/TosaToSCF/TosaToSCF.cpp
mlir/lib/Conversion/TosaToSCF/TosaToSCFPass.cpp
mlir/lib/Conversion/TosaToStandard/CMakeLists.txt
mlir/lib/Conversion/TosaToStandard/TosaToStandard.cpp
mlir/lib/Conversion/TosaToStandard/TosaToStandardPass.cpp
mlir/test/Conversion/TosaToSCF/tosa-to-scf.mlir
mlir/test/Conversion/TosaToStandard/tosa-to-standard.mlir
|
Aren't the region "single block" regions? If so can we "not loop" here?