[PATCH] D122425: Pass -disable-llvm-passes to avoid running llvm passes

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 28 11:11:52 PDT 2022


xbolva00 added inline comments.


================
Comment at: clang/test/CodeGenCXX/nrvo.cpp:2
 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
-// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -O1 -o - %s | FileCheck %s
-// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -O1 -fcxx-exceptions -fexceptions -std=c++03 -o - %s | FileCheck --check-prefixes=CHECK-EH,CHECK-EH-03 %s
----------------
Do you need -O1 at all?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122425



More information about the cfe-commits mailing list