clang/test/CIR/Tools/cir-translate-triple.cir
raw| 1 | // RUN: cir-translate --cir-to-llvmir --target x86_64-unknown-linux-gnu --disable-cc-lowering %s -o %t.ll |
| 2 | // RUN: FileCheck %s -input-file %t.ll -check-prefix=LLVM |
| 3 | |
| 4 | module { |
| 5 | cir.func @foo() { |
| 6 | cir.return |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | // LLVM-DAG: target triple = "x86_64-unknown-linux-gnu" |
| 11 | // LLVM-DAG: target datalayout = "{{.*}}" |