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

MLIR Support to LDC #1

Merged
merged 41 commits into from
Oct 21, 2019
Merged

MLIR Support to LDC #1

merged 41 commits into from
Oct 21, 2019

Conversation

Robertorosmaninho
Copy link
Owner

Add features to support MLIR, those are the result of Milestone 1 of SAOC 2019

Robertorosmaninho and others added 11 commits October 2, 2019 20:37
we're now printing a module and an empty function with no return and any arguments
Refactoring code
Arguments Working
Undeclared int values set to 0
mlir code cleaner -> declaring mlir::value only on leafs.
…nc->fbody instead of vectors of statements

Now is possible to have more than 1 function per module
Each function receives its mangled name
Add static declaration of arrays support -> one-dimensional tensors
@Robertorosmaninho Robertorosmaninho merged commit 8250952 into master Oct 21, 2019
Robertorosmaninho added a commit that referenced this pull request Feb 7, 2020
MLIR Support to LDC - Milestone 1
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 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.

2 participants