[all-commits] [llvm/llvm-project] 2fe625: Fix two pessimizing moves.

Christian Sigg via All-commits all-commits at lists.llvm.org
Fri Jan 8 02:44:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fe625e9abd037b8721977e9736c822ef872487f
      https://github.com/llvm/llvm-project/commit/2fe625e9abd037b8721977e9736c822ef872487f
  Author: Christian Sigg <csigg at google.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/include/llvm/Support/TaskQueue.h
    M mlir/include/mlir/Parser.h

  Log Message:
  -----------
  Fix two pessimizing moves.

See https://en.cppreference.com/w/cpp/language/return#Automatic_move_from_local_variables_and_parameters

Reviewed By: rriddle

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




More information about the All-commits mailing list