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
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"
7 module attributes {llvm.target_triple = "aarch64-unknown-linux-gnu"} {
8 func.func @dummyfunc() -> () {