================
@@ -1,2 +1,47 @@
 // RUN: %clang_cc1 -fclangir -emit-cir -mmlir --mlir-print-ir-after-all 
-clangir-enable-idiom-recognizer %s -o %t.cir 2>&1 | FileCheck %s 
-check-prefix=CIR
 // CIR: IR Dump After IdiomRecognizer: cir-idiom-recognizer
+
+// RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-linux-gnu -fclangir 
-clangir-enable-idiom-recognizer -emit-cir -mmlir 
--mlir-print-ir-after=cir-idiom-recognizer %s -o %t.cir 2>&1 | FileCheck %s 
--check-prefix=RAISED '--implicit-check-not=cir.call 
@_ZSt4findIPccET_S1_S1_RKT0_'
----------------
SharmaRithik wrote:

Fixed, it is implicit-check-not on cir.call @_ZSt4find now, so any std::find 
instantiation that survives the pass is an error.

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

Reply via email to