[PATCH] D94658: Remove redundant move call in return statements

Vladislav Vinogradov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 00:56:29 PST 2021


vinograd47 created this revision.
Herald added subscribers: dexonsmith, thopre, hiraditya.
vinograd47 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

They might prevent copy-elision optimization and generate noisy warnings with gcc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94658

Files:
  llvm/include/llvm/Bitstream/BitstreamReader.h
  llvm/include/llvm/Support/Parallel.h
  llvm/lib/Bitstream/Reader/BitstreamReader.cpp
  llvm/lib/FileCheck/FileCheck.cpp
  llvm/lib/IR/DataLayout.cpp
  llvm/lib/IR/LLVMRemarkStreamer.cpp
  llvm/lib/Remarks/BitstreamRemarkParser.cpp
  llvm/lib/Support/APFloat.cpp
  llvm/lib/Support/JSON.cpp
  llvm/lib/Support/MemoryBuffer.cpp
  llvm/lib/Support/Path.cpp
  llvm/lib/Support/YAMLTraits.cpp
  llvm/lib/TableGen/JSONBackend.cpp
  llvm/utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94658.316584.patch
Type: text/x-patch
Size: 20230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/a88b0008/attachment.bin>


More information about the llvm-commits mailing list