[mlir][llvm] Expose getters for alias and align attribute names
authorStephan Herhut <herhut@google.com>
Tue, 10 Nov 2020 15:59:54 +0000 (16:59 +0100)
committerStephan Herhut <herhut@google.com>
Wed, 11 Nov 2020 08:38:08 +0000 (09:38 +0100)
commit67cc5cec774d9881926fd0bbb9e2f68596e55300
tree908c623ffe7f0d27885efb38abc86750d77b0405
parent5dfe6545d4aaa3f123b5963092905f2611ae936b
[mlir][llvm] Expose getters for alias and align attribute names

This adds getters for `llvm.align` and `llvm.noalias` strings that are used
as attribute names in the llvm dialect.

Differential Revision: https://reviews.llvm.org/D91166
mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp