mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 05:06:45 +00:00
5768bb8d77
This function attribute indicates that the function is not optimized by any optimization or code generator passes with the exception of interprocedural optimization passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189101 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
235 B
LLVM
13 lines
235 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
; Check for the presence of attribute noopt in the disassembly.
|
|
|
|
; CHECK: @foo() #0
|
|
define void @foo() #0 {
|
|
ret void
|
|
}
|
|
|
|
; CHECK: attributes #0 = { optnone }
|
|
attributes #0 = { optnone }
|
|
|