1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/test/Feature/optnone.ll

13 lines
255 B
LLVM
Raw Normal View History

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