aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestCSharp.cpp
diff options
context:
space:
mode:
authorStephan Herhut <herhut@google.com>2020-04-16 13:14:43 +0200
committerStephan Herhut <herhut@google.com>2020-04-16 14:18:31 +0200
commit69040d5b0bfa59edacc2ad10d517b4270bf76845 (patch)
tree81de46ba098c5cefa1727f436c59d414f3ebc60b /clang/unittests/Format/FormatTestCSharp.cpp
parentda207407866a683563f6243e2b5f7502783b9842 (diff)
downloadllvm-69040d5b0bfa59edacc2ad10d517b4270bf76845.zip
llvm-69040d5b0bfa59edacc2ad10d517b4270bf76845.tar.gz
llvm-69040d5b0bfa59edacc2ad10d517b4270bf76845.tar.bz2
[MLIR] Allow for multiple gpu modules during translation.
This change makes the ModuleTranslation threadsafe by locking on the LLVMContext. Furthermore, we now clone the llvm module into a new context when compiling to PTX similar to what the OrcJit does. Differential Revision: https://reviews.llvm.org/D78207
Diffstat (limited to 'clang/unittests/Format/FormatTestCSharp.cpp')
0 files changed, 0 insertions, 0 deletions