[all-commits] [llvm/llvm-project] b435da: [amdgpu][nfc] Fix build with a certan Clang version

Dmitri Gribenko via All-commits all-commits at lists.llvm.org
Wed Jul 27 08:29:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b435da027d7774c24cdb8c88d09f6b771e07fb14
      https://github.com/llvm/llvm-project/commit/b435da027d7774c24cdb8c88d09f6b771e07fb14
  Author: Dmitri Gribenko <gribozavr at gmail.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp

  Log Message:
  -----------
  [amdgpu][nfc] Fix build with a certan Clang version

It errors out in the Bazel CI:

AMDGPULowerModuleLDSPass.cpp:384:12: error: chosen constructor is
explicit in copy-initialization
    return {SGV, std::move(Map)};

Reviewed By: rupprecht

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




More information about the All-commits mailing list