[all-commits] [llvm/llvm-project] 5d98dc: [llvm][GenericUniformity] Hack around strict is_in...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Wed Jan 18 11:56:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d98dc7124dcf1cc231b7fc67fb55b528a3e493d
      https://github.com/llvm/llvm-project/commit/5d98dc7124dcf1cc231b7fc67fb55b528a3e493d
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ADT/GenericUniformityImpl.h
    M llvm/include/llvm/ADT/GenericUniformityInfo.h
    M llvm/lib/Analysis/UniformityAnalysis.cpp
    M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp

  Log Message:
  -----------
  [llvm][GenericUniformity] Hack around strict is_invocable() checks

With recent (> 15, as far as I can tell, possibly > 16) clang, c++17,
and GNU's libstdc++ (versions 9 and 10 and maybe others), LLVM fails
to compile due to an is_invocable() check in unique_ptr::reset().

To resolve this issue, add a template argument to ImplDeleter to make
things work.

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




More information about the All-commits mailing list