Fix ExecutionEngine post-update in upstream LLVM
authorAlex Zinenko <zinenko@google.com>
Sun, 4 Aug 2019 14:47:36 +0000 (07:47 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sun, 4 Aug 2019 14:48:01 +0000 (07:48 -0700)
commitd043f0025b23e816899449267c5b3d4a43e04118
treeb968c4ba61414fe181a29aa97c573fa703d86c99
parent9d7655677f07b3512295de5c2eb361740c65b46e
Fix ExecutionEngine post-update in upstream LLVM

LLVM r367686 changed the locking scheme to avoid potential deadlocks and the
related llvm::orc::ThreadSafeModule APIs ExecutionEngine was relying upon,
breaking the MLIR build.  Update our use of ThreadSafeModule to unbreak the
build.

PiperOrigin-RevId: 261566571
mlir/lib/ExecutionEngine/ExecutionEngine.cpp