brintos

brintos / llvm-project-archived public Read only

0
0
Text · 496 B · 79f9cd6 Raw
13 lines · plain
1// RUN: fir-opt --target-rewrite %s | FileCheck %s --check-prefix=UNCHANGED2// RUN: fir-opt --target-rewrite="target=x86_64-unknown-linux-gnu" %s | FileCheck %s --check-prefix=CHANGED3 4// UNCHANGED: llvm.target_triple = "aarch64-unknown-linux-gnu"5// CHANGED: llvm.target_triple = "x86_64-unknown-linux-gnu"6// CHANGED-NOT: llvm.target_triple = "aarch64-unknown-linux-gnu"7module attributes {llvm.target_triple = "aarch64-unknown-linux-gnu"}  {8  func.func @dummyfunc() -> () {9    return10  }11}12 13