Sign in
llvm
/
llvm-project
/
mlir
/
refs/heads/master
/
.
/
test
/
Target
/
LLVMIR
/
target-cpu.mlir
blob: 80f8172143259a4caab77efc4cb4813ef0ca99d2 [
file
] [
log
] [
blame
]
// 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
}