brintos

brintos / llvm-project-archived public Read only

0
0
Text · 682 B · 5dc2fdb Raw
19 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 attributes {7  dlti.dl_spec = #dlti.dl_spec<"dlti.global_memory_space" = 7 : ui64>8} {9  cir.func @foo() {10    cir.return11  }12}13 14// X86-NOT: target datalayout = "G7"15// X86-DAG: target triple = "x86_64-unknown-linux-gnu"16 17// SPIRV64-NOT: target datalayout = "G7"18// SPIRV64-DAG: target triple = "spirv64-unknown-unknown"19