repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-exegesis][NFC] Pass Instruction instead of bare Opcode
[llvm-core.git]
/
test
/
Feature
/
optnone.ll
blob
7d8afd4b773eff7726bc9f2766acb59fc5d7aeb6
1
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2
3
; Check for the presence of attribute optnone in the disassembly.
4
5
; CHECK: @foo() #0
6
define void @foo() #0 {
7
ret void
8
}
9
10
; CHECK: attributes #0 = { noinline optnone }
11
attributes #0 = { optnone noinline }
12