repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mlir][py] Enable loading only specified dialects during creation. (#121421)
[llvm-project.git]
/
mlir
/
test
/
Target
/
LLVMIR
/
target-cpu.mlir
blob
80f8172143259a4caab77efc4cb4813ef0ca99d2
1
// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
2
3
// CHECK: define void @target_cpu() #[[ATTRS:.*]] {
4
// CHECK: attributes #[[ATTRS]] = { "target-cpu"="gfx90a" }
5
llvm.func @target_cpu() attributes {target_cpu = "gfx90a"} {
6
llvm.return
7
}