blob: 2e336a797c6a7287b1077d1c26a2ddbc7b3acb39 [file] [log] [blame]
// RUN: cir-translate --cir-to-llvmir --target x86_64-unknown-linux-gnu --disable-cc-lowering %s -o %t.x86.ll
// RUN: FileCheck %s -input-file %t.x86.ll -check-prefix=X86
// RUN: cir-translate --cir-to-llvmir --target spirv64-unknown-unknown --disable-cc-lowering %s -o %t.spirv64.ll
// RUN: FileCheck %s -input-file %t.spirv64.ll -check-prefix=SPIRV64
module {
cir.func @foo() {
cir.return
}
}
// X86-DAG: target triple = "x86_64-unknown-linux-gnu"
// X86-DAG: target datalayout = "{{.*}}"
// SPIRV64-DAG: target triple = "spirv64-unknown-unknown"
// SPIRV64-DAG: target datalayout = "{{.*}}"