You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
255 B

; 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 }