[all-commits] [llvm/llvm-project] 3587b1: [Clang] [P2025] More exhaustive tests for NRVO

Evgeny Shulgin via All-commits all-commits at lists.llvm.org
Wed Mar 16 17:59:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3587b15abe683f164093f8d057e921f913572007
      https://github.com/llvm/llvm-project/commit/3587b15abe683f164093f8d057e921f913572007
  Author: Evgeny Shulgin <izaronplatz at gmail.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M clang/test/CodeGenCXX/nrvo.cpp

  Log Message:
  -----------
  [Clang] [P2025] More exhaustive tests for NRVO

This is a preliminary patch ahead of D119792 (I'll rebase that one on top of this).
This shows what Clang's _current_ behaviour is for calculating NRVO in various
common cases. Then, in D119792 (and future patches), I'll be able to demostrate
exactly how LLVM IR for each of these cases changes.

Reviewed By: Quuxplusone

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




More information about the All-commits mailing list