================ @@ -0,0 +1,24 @@ +// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu \ +// RUN: -emit-module-interface %S/Inputs/modules-import-iface.cppm -o %t.pcm +// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu \ +// RUN: -fclangir -emit-cir -fmodule-file=m=%t.pcm %s -o %t.cir +// RUN: FileCheck --check-prefix=CIR --input-file=%t.cir %s +// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu \ +// RUN: -fclangir -emit-llvm -fmodule-file=m=%t.pcm %s -o %t.ll +// RUN: FileCheck --check-prefix=LLVM --input-file=%t.ll %s +// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu \ +// RUN: -emit-llvm -fmodule-file=m=%t.pcm %s -o %t.og.ll +// RUN: FileCheck --check-prefix=OGCG --input-file=%t.og.ll %s ---------------- andykaylor wrote:
```suggestion // RUN: FileCheck --check-prefix=LLVM --input-file=%t.og.ll %s ``` We've recently adopted a practice of using the same check prefix for the LLVM IR via CIR and direct LLVM IR paths if they match. https://github.com/llvm/llvm-project/pull/221720 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
