[all-commits] [llvm/llvm-project] 9cc002: [MCA][NFC] Remove redundant calls to std::move.

Andrea Di Biagio via All-commits all-commits at lists.llvm.org
Thu Aug 26 11:48:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cc0023fb863194be526f0bf19bd21e36236c5f6
      https://github.com/llvm/llvm-project/commit/9cc0023fb863194be526f0bf19bd21e36236c5f6
  Author: Andrea Di Biagio <andrea.dibiagio at sony.com>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M llvm/include/llvm/MCA/Instruction.h
    M llvm/lib/MCA/InstrBuilder.cpp
    M llvm/lib/MCA/Pipeline.cpp

  Log Message:
  -----------
  [MCA][NFC] Remove redundant calls to std::move.

This fixes some redundant move in return statement [-Wredundant-move] gcc 9.3.0
warnings.

This also fixes a minor coverity issue reported agaist class MCAOperand about
the lack of proper initialization for field Index.

No functional change intended.




More information about the All-commits mailing list