17 lines · plain
1// RUN: cir-translate --cir-to-llvmir --target x86_64-unknown-linux-gnu --disable-cc-lowering %s -o %t.x86.ll2// RUN: FileCheck %s -input-file %t.x86.ll -check-prefix=X863// RUN: cir-translate --cir-to-llvmir --target spirv64-unknown-unknown --disable-cc-lowering %s -o %t.spirv64.ll4// RUN: FileCheck %s -input-file %t.spirv64.ll -check-prefix=SPIRV645 6module {7 cir.func @foo() {8 cir.return9 }10}11 12// X86-DAG: target triple = "x86_64-unknown-linux-gnu"13// X86-DAG: target datalayout = "{{.*}}"14 15// SPIRV64-DAG: target triple = "spirv64-unknown-unknown"16// SPIRV64-DAG: target datalayout = "{{.*}}"17