[PATCH] D47586: Update NRVO logic to support early return (Attempt 2)

Taiju Tsuiki via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 18 21:39:57 PDT 2018


tzik added inline comments.


================
Comment at: test/CodeGenCXX/nrvo-noopt.cpp:1
+// RUN: %clang_cc1 -emit-llvm -O0 -o - %s | FileCheck %s
+
----------------
rsmith wrote:
> You don't need the `-O0` here; that's the default.
Thanks! Done.


Repository:
  rC Clang

https://reviews.llvm.org/D47586





More information about the cfe-commits mailing list