================
@@ -7,7 +7,7 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -O2 -fcxx-exceptions 
-fexceptions -fclangir -emit-cir %s -o %t-eh.cir
 // RUN: FileCheck --input-file=%t-eh.cir %s --check-prefix=CIR-EH
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -O2 -fcxx-exceptions 
-fexceptions -fclangir -emit-llvm -disable-llvm-passes %s -o %t-eh.ll
-// RUN: FileCheck --input-file=%t-eh.ll %s --check-prefix=LLVM-EH
+// RUN: FileCheck --input-file=%t-eh.ll %s --check-prefixes=LLVM-EH
----------------
andykaylor wrote:

There's no substantial difference between O1 and O2 for the purposes of this 
test. We check that optimizations aren't disabled before emitting the lifetime 
markers. Otherwise, I think it just changes the pipeline that gets built, and 
since this test is disabling LLVM passes that doesn't matter. I'll change the 
checks to O1 because that's the minimum needed here.

https://github.com/llvm/llvm-project/pull/219600
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to