mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 15:53:42 +00:00
44cb0f3803
Requires "native" feature in most places that were failing. From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243960 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
273 B
LLVM
14 lines
273 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; REQUIRE: native
|
|
|
|
; 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 }
|
|
|