[all-commits] [llvm/llvm-project] 8e4887: [mlir] use a thread-local alternative to llvm::nulls

ftynse via All-commits all-commits at lists.llvm.org
Mon Jul 31 01:21:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e4887a12e863015c5492b5d5a703f7dfa37e784
      https://github.com/llvm/llvm-project/commit/8e4887a12e863015c5492b5d5a703f7dfa37e784
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h
    A mlir/include/mlir/Support/RawOstreamExtras.h
    M mlir/lib/Support/CMakeLists.txt
    A mlir/lib/Support/RawOstreamExtras.cpp

  Log Message:
  -----------
  [mlir] use a thread-local alternative to llvm::nulls

LLVM is not set up in a thread-safe way, which seems to be leading to
race conditions when sending stuff to llvm::nulls in opt builds. Try a
thread-local alternative.

Reviewed By: pzread

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




More information about the All-commits mailing list