Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor[next]: workflowify PAST -> ITIR toolchain step (#1479)
## New: - "next.ffront": - ".past_to_itir": workflow step PAST -> ITIR - ".transform_utils": some utility functions moved from "next.ffront.decorator" ## Changed: - "Backend": - is not a "ProgramProcessor" anymore - still passes "is_program_backend" test - new attribute ".transformer", a workflow which prepares for the ".executor" - currently starts at "stages.PastClosure" (PAST node + args, kwargs) but will evolve into starting from function definition + args, kwargs - "ModularExecutor": - is now a "ProgramExecutor" (passes "is_processor_kind" test) - "program_processor_interface": - "is_program_backend" test now checks for existence of an ".executor" attribute, which must pass the executor test - "ffront.decorator": - several utilities and methods refactored out into the new modules - tests: test utils / fixtures refactored to deal with backends which are not executors --------- Co-authored-by: nfarabullini <nicoletta.farabullini@c2sm.ethz.ch> Co-authored-by: Rico Häuselmann <ricoh@cscs.ch>
- Loading branch information