• Nagy Mostafa's avatar
    [MLIR] Initial PoC: NG dialect, dialect code-gen, dialect lowering to affine, no JIT yet · a5c99754
    Nagy Mostafa authored
    * Link MLIR static libs to cpu backend
    
    * Use LLVMConfig.cmake
    
    * Initial commit. Link fails with undefined reference to typeinfo for mlir::Dialect
    
    * Added AddOp
    
    * initial compiler class
    
    * Initialize module/function, and map tensors to arguments
    
    * Code compiles. Moved MLIR building to correct DEX handler
    
    * NGDialect code-gen working
    
    * Use vector instead of sets for i/o tensors. Use functor in executor
    
    * Misc fixes
    
    * style-apply
    
    * WIP: Adding support for dialect lowering.
    
    * WIP: Lowered to affine. Crash on constant ops have side effects in Constant Folding
    
    * Fixed missing whole package linkage.
    
    * Removed fake instruction and update func type
    
    *  Enable lowering to LLVM dialect and IR
    
    * Made loop nest builder handle any rank
    
    * Fixes per PR feedback. Major ones:
    - Removed ngdialect namespace
    - renamed dialect classes to start with NG prefixwq:w
    
    * Add unreachable assert
    
    * Add reading of LLVM options from an env var MLIR_LLVM_OPTIONS (#5)
    a5c99754
Name
Last commit
Last update
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
ABOUT.md Loading commit data...
CMakeLists.txt Loading commit data...
CODEOWNERS Loading commit data...
CONTRIB.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...
ecosystem-overview.md Loading commit data...