================
@@ -1,15 +1,18 @@
-// RUN: %clang_cc1 -verify -fopenmp -x c++ -emit-llvm %s -fexceptions
-fcxx-exceptions -o - | FileCheck %s --check-prefixes=ALL,NORMAL
+// RUN: %clang_cc1 -verify -fopenmp -x c++ -emit-llvm %s -fexceptions
-fcxx-exceptions -o - | FileCheck %s --check-prefixes=ALL,NORMAL,OGCG
// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -triple x86_64-unknown-unknown
-fexceptions -fcxx-exceptions -emit-pch -o %t %s
-// RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-unknown-unknown -fexceptions
-fcxx-exceptions -std=c++11 -include-pch %t -verify %s -emit-llvm -o - |
FileCheck %s --check-prefixes=ALL,NORMAL
+// RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-unknown-unknown -fexceptions
-fcxx-exceptions -std=c++11 -include-pch %t -verify %s -emit-llvm -o - |
FileCheck %s --check-prefixes=ALL,NORMAL,OGCG
// RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -fexceptions
-fcxx-exceptions -debug-info-kind=line-tables-only -x c++ -emit-llvm %s -o - |
FileCheck %s --check-prefix=TERM_DEBUG
-// RUN: %clang_cc1 -verify -fopenmp -fopenmp-enable-irbuilder -x c++
-emit-llvm %s -fexceptions -fcxx-exceptions -o - | FileCheck %s
--check-prefixes=ALL,IRBUILDER
+// RUN: %clang_cc1 -verify -fopenmp -fopenmp-enable-irbuilder -x c++
-emit-llvm %s -fexceptions -fcxx-exceptions -o - | FileCheck %s
--check-prefixes=ALL,IRBUILDER,OGCG
// RUN: %clang_cc1 -fopenmp -fopenmp-enable-irbuilder -x c++ -std=c++11
-triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -emit-pch -o %t %s
-// RUN: %clang_cc1 -fopenmp -fopenmp-enable-irbuilder -x c++ -triple
x86_64-unknown-unknown -fexceptions -fcxx-exceptions -std=c++11 -include-pch %t
-verify %s -emit-llvm -o - | FileCheck %s --check-prefixes=ALL,IRBUILDER
+// RUN: %clang_cc1 -fopenmp -fopenmp-enable-irbuilder -x c++ -triple
x86_64-unknown-unknown -fexceptions -fcxx-exceptions -std=c++11 -include-pch %t
-verify %s -emit-llvm -o - | FileCheck %s --check-prefixes=ALL,IRBUILDER,OGCG
// RUN: %clang_cc1 -verify -fopenmp-simd -x c++ -emit-llvm %s -fexceptions
-fcxx-exceptions -o - | FileCheck --check-prefix SIMD-ONLY0 %s
// RUN: %clang_cc1 -fopenmp-simd -x c++ -std=c++11 -triple
x86_64-unknown-unknown -fexceptions -fcxx-exceptions -emit-pch -o %t %s
// RUN: %clang_cc1 -fopenmp-simd -x c++ -triple x86_64-unknown-unknown
-fexceptions -fcxx-exceptions -std=c++11 -include-pch %t -verify %s -emit-llvm
-o - | FileCheck --check-prefix SIMD-ONLY0 %s
// RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp-simd
-fexceptions -fcxx-exceptions -debug-info-kind=line-tables-only -x c++
-emit-llvm %s -o - | FileCheck --check-prefix SIMD-ONLY0 %s
+// RUN: %if cir-enabled %{ %clang_cc1 -verify -fopenmp -std=c++11 -triple
x86_64-unknown-linux-gnu -DCIR_TEST -fclangir -emit-cir %s -o - | FileCheck %s
--check-prefix=CIR %}
+// RUN: %if cir-enabled %{ %clang_cc1 -verify -fopenmp -std=c++11 -triple
x86_64-unknown-linux-gnu -DCIR_TEST -fclangir -emit-llvm %s -o - | FileCheck %s
--check-prefixes=ALL,CIRLLVM %}
----------------
steffenlarsen wrote:
Do we understand why there is a CIRLLVM divergence compared to OGCG?
https://github.com/llvm/llvm-project/pull/238260
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits