[PATCH] D125272: [clang] Add -fcheck-new support

Jessica Clarke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 9 15:45:51 PDT 2022


jrtc27 added inline comments.


================
Comment at: clang/test/CodeGenCXX/fcheck-new.cpp:2
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
+// RUN: %clang -fcheck-new -emit-llvm -S %s -o - -O2 | FileCheck %s
+
----------------
Do you really want -O2 or do you just want to run mem2reg to eliminate all the alloca noise?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125272/new/

https://reviews.llvm.org/D125272



More information about the cfe-commits mailing list