llvm.org GIT mirror llvm / release_90 test / Feature / optnone.ll
release_90

Tree @release_90 (Download .tar.gz)

optnone.ll @release_90raw · history · 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 }