Sign in
llvm
/
llvm-project
/
5e2358c781b85a18d1463fd924d2741d4ae5e42e
/
.
/
llvm
/
test
/
Feature
/
optnone.ll
blob: 7d8afd4b773eff7726bc9f2766acb59fc5d7aeb6 [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; Check for the presence of attribute optnone in the disassembly.
; CHECK: @foo() #0
define
void
@foo
()
#
0
{
ret
void
}
; CHECK: attributes #0 = { noinline optnone }
attributes
#
0
=
{
optnone
noinline
}