LLVM dialect: prefix auxiliary operations with "mlir."
authorAlex Zinenko <zinenko@google.com>
Tue, 3 Sep 2019 16:10:24 +0000 (09:10 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 3 Sep 2019 16:10:56 +0000 (09:10 -0700)
commitc335d9d3137b9db6c17b7cdbf45ddf80f651c6c1
treed0cd02688eac19ba15ac23f91d63513367358fd4
parentda646505c5bc5f03252c7a83bbeb890e5b3a19fa
LLVM dialect: prefix auxiliary operations with "mlir."

Some of the operations in the LLVM dialect are required to model the LLVM IR in
MLIR, for example "constant" operations are needed to declare a constant value
since MLIR, unlike LLVM, does not support immediate values as operands.  To
avoid confusion with actual LLVM operations, we prefix such axuiliary
operations with "mlir.".

PiperOrigin-RevId: 266942838
18 files changed:
mlir/g3doc/ConversionToLLVMDialect.md
mlir/g3doc/Dialects/LLVM.md
mlir/g3doc/Tutorials/Toy/Ch-5.md
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/test/Conversion/GPUToCUDA/insert-cubin-getter.mlir
mlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
mlir/test/Examples/Linalg/Linalg1.mlir
mlir/test/LLVMIR/convert-funcs.mlir
mlir/test/LLVMIR/convert-memref-ops.mlir
mlir/test/LLVMIR/convert-to-llvmir.mlir
mlir/test/LLVMIR/global.mlir
mlir/test/LLVMIR/roundtrip.mlir
mlir/test/Linalg/llvm.mlir
mlir/test/Target/llvmir.mlir