bolt/deps/llvm-18.1.8/mlir/test/Target/LLVMIR/target-cpu.mlir
2025-02-14 19:21:04 +01:00

7 lines
247 B
MLIR

// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
// CHECK: define void @target_cpu() #[[ATTRS:.*]] {
// CHECK: attributes #[[ATTRS]] = { "target-cpu"="gfx90a" }
llvm.func @target_cpu() attributes {target_cpu = "gfx90a"} {
llvm.return
}