xref: /aosp_15_r20/external/llvm/test/Feature/optnone.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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
6define void @foo() #0 {
7  ret void
8}
9
10; CHECK: attributes #0 = { noinline optnone }
11attributes #0 = { optnone noinline }
12
13