MLIR output is not possible
Task Info (Flyspray) | |
---|---|
Opened By | Luís Ferreira (ljmf00) |
Task ID | 72878 |
Type | Feature Request |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2021-11-29 16:27:49 UTC |
Status | Assigned |
Assignee | Dan Printzell (Wild) |
Assignee | Filipe Laíns (FFY00) |
Details
Description:
Compiling a simple program in D with MLIR output should be possible. For instance, to output MLIR you should pass --output-mlir
although this message appears:
Error: MLIR output requested but this LDC was built without MLIR support
To build LDC with MLIR support, add this option to CMake: -DLDC_MLIR_ENABLED=ON
.