================ @@ -0,0 +1,46 @@ +// RUN: %clang_cc1 -x c -ffreestanding -triple x86_64-unknown-linux -fclangir -emit-cir -o %t.cir %s +// RUN: FileCheck --check-prefix=CIR --input-file=%t.cir %s + +// RUN: %clang_cc1 -x c -ffreestanding -triple x86_64-unknown-linux -fclangir -emit-llvm -o %t.ll %s +// RUN: FileCheck --check-prefix=LLVM --input-file=%t.ll %s + +// RUN: %clang_cc1 -x c -ffreestanding -triple=x86_64-unknown-linux -emit-llvm -o - %s | FileCheck %s -check-prefix=OGCG + +// This test mimics clang/test/CodeGen/X86/rd-builtins.c, which eventually +// CIR shall be able to support fully. ---------------- andykaylor wrote:
It appears we're only missing support for _rdpmc, which is being added in https://github.com/llvm/llvm-project/pull/179098. If that PR lands before this one, you can remove this comment after resolving conflicts. https://github.com/llvm/llvm-project/pull/180714 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
