8 lines · plain
1// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s2 3// CHECK: define void @target_cpu() #[[ATTRS:.*]] {4// CHECK: attributes #[[ATTRS]] = { "target-cpu"="gfx90a" }5llvm.func @target_cpu() attributes {target_cpu = "gfx90a"} {6 llvm.return7}8