[all-commits] [llvm/llvm-project] 98339a: [Support] move llvm::llvm_is_multithread to header...

Jun Zhang via All-commits all-commits at lists.llvm.org
Sun Aug 7 17:50:30 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98339ac7af30b95f42f50e27bb6f6b7e2857ddc9
  Author: Jun Zhang <jun at junz.org>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/include/llvm/Support/Mutex.h
    M llvm/include/llvm/Support/Threading.h
    M llvm/lib/Support/Threading.cpp

  Log Message:
  [Support] move llvm::llvm_is_multithread to header, NFC

This allow optimization without LTO. Also remove some useless else-ifs.
Signed-off-by: Jun Zhang <jun at junz.org>

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

More information about the All-commits mailing list