mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 22:55:15 +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 }
|
|
|