bolt/deps/llvm-18.1.8/llvm/test/Feature/optnone.ll
2025-02-14 19:21:04 +01:00

12 lines
255 B
LLVM

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