forked from ldc-developers/ldc
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
added a commit
that referenced
this pull request
Feb 7, 2020
Support for Standard Translation
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR closes the 3rd Milestone and change the primary translation of D into Std Dialect instead of Affine Loops