mlir
mlir copied to clipboard
"Multi-Level Intermediate Representation" Compiler Infrastructure
We've been using 'llvm.noalias' attribute on Memrefs to propagate no-alias information of function arguments from nGraph to LLVM. This enabled some LLVM optimizations like vectorization and prevented unnecessary runtime checks...
This patch is addressing https://github.com/tensorflow/mlir/issues/60 Implements initial version of Vulkan runtime to test spirv::ModuleOp. Creates and runs Vulkan computation pipeline. Provides one unititest to test multiplication of two spv.arrays of...
Currently Alloc/Dealloc in standard dialect are hard-coded to call malloc/free. This change adds a string attribute to the operations to hold the callback name allowing use of custom allocators. Added...
This is the first of four PRs to add support for the ROCm backend for AMD GPUs. This PR adds the pass to generate the HSA Code objects corresponding the...
There are several circular dependencies between libraries. These are explicitly marked as STATIC. Note that add_llvm_library is redundant with add_dependencies, so we don't have to have libraries in both places.
Add constructors for LLVM identified struct types. This is to support recursive type references. The interface follows that found in LLVM:;StructType's public interface with create and setBody functions. The test...
-simplify-affine-structures - addresses #194 - change name of tablegen auto-generated internal helper for op interfaces to avoid potential conflicts with methods of same name in dialect namespaces. (addresses #197) Signed-off-by:...
This should be reproducible on the trunk and is due to the handling post the missing type on the block argument being passed. ``` func @foo(%key : i32) { "bar"()...
mlir-cuda-runner has a problem,and its three testes is not passed.How to generate cuda code in Toy language?
This should be reproducible with the trunk: f33f6e16ec430da0989d5e3a287bed1d6d55f73f. More inspection shows that we have a block with a null parent region. (This was likely exposed from the folding being done...