[all-commits] [llvm/llvm-project] d9547f: [MLIR] Fix compilation with LLVM_ENABLE_THREADS=OFF

John Demme via All-commits all-commits at lists.llvm.org
Fri Jan 7 18:21:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9547f410fce655b411d3ed75295ccac5919dd42
      https://github.com/llvm/llvm-project/commit/d9547f410fce655b411d3ed75295ccac5919dd42
  Author: John Demme <john.demme at microsoft.com>
  Date:   2022-01-08 (Sat, 08 Jan 2022)

  Changed paths:
    M llvm/lib/Support/ThreadPool.cpp

  Log Message:
  -----------
  [MLIR] Fix compilation with LLVM_ENABLE_THREADS=OFF

Currently, compiles with LLVM_ENABLE_THREADS=OFF fail due to this symbol missing. Add it but assert as calling code is (and should be) checking that threading is enabled.

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




More information about the All-commits mailing list