[mlir][llvm] Use tablegen to import atomic ops from LLVM IR.
authorTobias Gysi <tobias.gysi@nextsilicon.com>
Fri, 14 Oct 2022 12:00:44 +0000 (15:00 +0300)
committerTobias Gysi <tobias.gysi@nextsilicon.com>
Fri, 14 Oct 2022 12:25:55 +0000 (15:25 +0300)
commit9f13900371c49c030ce5432a20d730c8a8246e44
treec6807c061fa149d08b802a856c9c640b0c697646
parent98bf836f3127a346a81da5ae3e27246935298de4
[mlir][llvm] Use tablegen to import atomic ops from LLVM IR.

The revision imports the atomic operations using
tablegen generated builders. Additionally, it moves their tests to
the instructions.ll test file.

Depends on D135880

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D135944
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
mlir/test/Target/LLVMIR/Import/basic.ll
mlir/test/Target/LLVMIR/Import/instructions.ll