Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
compile
and test buffer donation (#126)
* Format code * Delete `CompiledModule` and rename function to `compile_mlir!` * Refactor out MLIR `Context` preparation before `compile_mlir!` call * Refactor `compile` into smaller `codegen_*` and `compile_*` methods * Test preserved arguments in buffer donation tests * Fix rebase on top of #123 * Fix test * Add some comments * Add compiler hints to `traced_getfield` * Refactor `create_result` * Wrap "Compiler.jl" into a `Compiler` module * Refactor `compile` calls for `@compile` macrocalls * Fix imports * Fix `@compile` tests on broadcast * Refactor `@compile` calls for broadcasting syntax * Stop printing MLIR in `show` method for `TracedRArray` Segfaults if MLIR has not been correctly generated * Fix call to compiled function in Flux test * Import `compile` symbol to top-level * Fix function compilation in Lux test * Revert refactor to `@compile` on Lux test * Another fix for the Lux test * Revert refactor to `@compile` on benchmarks
- Loading branch information