Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Standard Translation #2

Merged
merged 3 commits into from
Jan 19, 2020
Merged

Conversation

Robertorosmaninho
Copy link
Owner

This PR closes the 3rd Milestone and change the primary translation of D into Std Dialect instead of Affine Loops

Robertorosmaninho and others added 3 commits January 3, 2020 14:37
Not working anymore with mlir::Value pointers due a modification on MLIR Infrastructure/
Changing D Dialect to Standard Dialect: This modification eliminate one step of compilation time, since the goal is to get D into Dialects level any dialect that translates D properly fits, the advantage of using Standard instead of D Dialect is that we don't have to write code to translate it later because Standard already have MLIR Passes to be translated to any other dialects. So only operations that are extremely needed have to be on D dialect.
D::CastOp still have to be translated yet.
MLIR now belongs to LLVM repository, cmake had to be updated to fit it: mlir source now is in ${LLVM_ROOT_DIR}/.. and mlir binaries on ${LLVM_ROOT_DIR}/tools
Missing Support for Struct translation
Add new Cast support
Add String as OpaqueOperation of type tensor<*xi8>
@Robertorosmaninho Robertorosmaninho merged commit 074c818 into support-for-MLIR Jan 19, 2020
@Robertorosmaninho Robertorosmaninho deleted the std-dialect branch January 19, 2020 16:40
@Robertorosmaninho Robertorosmaninho restored the std-dialect branch January 20, 2020 13:56
Robertorosmaninho added a commit that referenced this pull request Feb 7, 2020
Robertorosmaninho added a commit that referenced this pull request Feb 7, 2020
Robertorosmaninho added a commit that referenced this pull request Feb 7, 2020
Robertorosmaninho added a commit that referenced this pull request Feb 7, 2020
Robertorosmaninho added a commit that referenced this pull request Feb 8, 2020
Also add description for CL "output-mlir"
Robertorosmaninho added a commit that referenced this pull request Feb 12, 2020
MLIR: #2 CMake - Adding FindMLIR.cmake
MLIR: #3 CMake - Updating FindMLIR
MLIR: #4 CMake - Updating Path 
MLIR: #5 CMake - Adding MLIRLibs
MLIR: #6 CMake - Supporting Dialect on FindMLIR
MLIR: #7 CMake - Adding Message of Ops.ts
MLIR: ldc-developers#8 CMake - Removing duplicated messages
MLIR: ldc-developers#9 CMake: Updating paths and setting libs
MLIR: ldc-developers#10 CMake - Removing duplicated MLIR Headers
Make MLIR optional, use MLIR_LIBRARIES
Robertorosmaninho added a commit that referenced this pull request Feb 15, 2020
MLIR: #1 Introduce MLIRGen - The main component to translation
MLIR: #2 Introduce MLIRGen - Recoganize the BinOps and Translations of it 
MLIR: #3 Code Refactorig - Introducing MLIRStatement and MLIRDeclaration
MLIR: #4 Doing de code generation of a function body on the right way using func->fbody instead of vectors of statements
MLIR: #5 Add function calls support and add static declaration of arrays support -> one-dimensional tensors
MLIR: #6 Add #ifdef to compile MLIR files only if LDC_MLIR_ENABLED is ON
MLIR: #7 Modifications on TensorType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant