Introduce custom syntax for llvm.func
authorAlex Zinenko <zinenko@google.com>
Mon, 5 Aug 2019 08:57:27 +0000 (01:57 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 5 Aug 2019 08:57:54 +0000 (01:57 -0700)
commit6059122601178fe64353387afd344c7555bd6372
tree48a12fa53fcf6d307c862e98d52a05fd6b983c5c
parentb36e3be3fc71db2e6cf3c3c6b4c551ae71a27ab5
Introduce custom syntax for llvm.func

Similar to all LLVM dialect operations, llvm.func needs to have the custom
syntax.  Use the generic FunctionLike printer and parser to implement it.

PiperOrigin-RevId: 261641755
mlir/include/mlir/IR/FunctionSupport.h
mlir/include/mlir/LLVMIR/LLVMDialect.h
mlir/include/mlir/LLVMIR/LLVMOps.td
mlir/lib/IR/Function.cpp
mlir/lib/IR/FunctionSupport.cpp
mlir/lib/LLVMIR/IR/LLVMDialect.cpp
mlir/test/LLVMIR/func.mlir