[X86] Allow x86 call frame optimization to fold more loads into pushes
[oota-llvm.git] / test / Feature / optnone.ll
index ec1d7232b363d939c3656cce8d01cb0bb78b5149..3cb6efdf45e7426ccfb911ec45e9234c585ddd10 100644 (file)
@@ -1,12 +1,13 @@
 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
+; REQUIRE: native
 
-; Check for the presence of attribute noopt in the disassembly.
+; Check for the presence of attribute optnone in the disassembly.
 
 ; CHECK: @foo() #0
 define void @foo() #0 {
   ret void
 }
 
-; CHECK: attributes #0 = { optnone }
-attributes #0 = { optnone }
+; CHECK: attributes #0 = { noinline optnone }
+attributes #0 = { optnone noinline }