llvm-project/mlir/test/Dialect/LLVMIR
Sagar Jain 76cf14035b [MLIR] Added llvm.fence
This patch adds llvm.fence. I tried not to change the syntax much.

syntax:

LLVM IR
`fence [syncscope("<target-scope>")] <ordering>`

MLIR LLVM Dialect

`llvm.fence [syncscope("<target-scope>")] <ordering>`

example:
LLVM IR: `fence syncscope("agent") seq_cst`
MLIR: `llvm.fence syncscope("agent") seq_cst`

Differential Revision: https://reviews.llvm.org/D75645
2020-03-17 17:53:37 +01:00
..
func.mlir Add linkage support to LLVMFuncOp 2019-12-03 00:26:44 -08:00
global.mlir [mlir][ods] Improve integer signedness modelling 2020-03-04 15:05:42 -05:00
invalid.mlir [MLIR] Added llvm.fence 2020-03-17 17:53:37 +01:00
legalize-for-export.mlir [mlir] LLVM dialect: move ensureDistinctSuccessors out of std->LLVM conversion 2020-03-17 15:22:14 +01:00
nvvm.mlir [MLIR] change NVVM.mma.sync to the most useful variant. 2020-02-18 17:57:04 -08:00
rocdl.mlir [ROCm] Adding ROCDL Dialect. 2019-09-27 00:22:32 -07:00
roundtrip.mlir [MLIR] Added llvm.fence 2020-03-17 17:53:37 +01:00
terminator.mlir Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00