diff options
author | Sagar Jain <cs17btech11034@iith.ac.in> | 2020-03-17 17:43:21 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-03-17 17:53:37 +0100 |
commit | 76cf14035be346ad7f8f9fef334fbc03fc11bd33 (patch) | |
tree | 1573b44c92b070921e6a5825668b6775adba2fe3 /llvm/lib/CodeGen/MachineOutliner.cpp | |
parent | 6e29846b29d2bcaa8a7a3d869f24f242bd93d272 (diff) | |
download | llvm-76cf14035be346ad7f8f9fef334fbc03fc11bd33.zip llvm-76cf14035be346ad7f8f9fef334fbc03fc11bd33.tar.gz llvm-76cf14035be346ad7f8f9fef334fbc03fc11bd33.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions