1// RUN: fir-opt --target-rewrite %s | FileCheck %s --check-prefix=UNCHANGED 2// RUN: fir-opt --target-rewrite="target=x86_64-unknown-linux-gnu" %s | FileCheck %s --check-prefix=CHANGED 3 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 return 10 } 11} 12 13