[all-commits] [llvm/llvm-project] 9edced: [mlir] AsyncRuntime: disable threading until test ...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Tue Dec 1 01:12:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9edcedf7f222ce7c893d1e3bf19b3a7a1f0f2218
      https://github.com/llvm/llvm-project/commit/9edcedf7f222ce7c893d1e3bf19b3a7a1f0f2218
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    M mlir/lib/ExecutionEngine/AsyncRuntime.cpp

  Log Message:
  -----------
  [mlir] AsyncRuntime: disable threading until test flakiness is fixed

ExecutionEngine/LLJIT do not run globals destructors in loaded dynamic libraries when destroyed, and threads managed by ThreadPool can race with program termination, and it leads to segfaults.

TODO: Re-enable threading after fixing a problem with destructors, or removing static globals from dynamic library.

Differential Revision: https://reviews.llvm.org/D92368




More information about the All-commits mailing list