================
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -triple "spir-unknown-unknown" -emit-llvm -o - | 
FileCheck %s
+// RUN: %clang_cc1 %s -triple "spir-unknown-unknown" 
-fno-delete-null-pointer-checks -emit-llvm -o - | FileCheck %s
----------------
dtcxzyw wrote:

The default optimization level for opencl frontend is O2 :)
https://github.com/llvm/llvm-project/blob/83344da69145a648aad3e0cd88eab4aaf60b2142/clang/lib/Frontend/CompilerInvocation.cpp#L717-L723

https://github.com/llvm/llvm-project/pull/135602
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to