mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
b486212f5a
This function attribute indicates that the function is not optimized by any optimization or code generator passes with the exception of interprocedural optimization passes. llvm-svn: 189101
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 }
|
|
|