// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline 

static int bar(int x, int y) __attribute__((noinline));

static int bar(int x, int y)  
{
 return x + y;
}

int foo(int a, int b) {
 return  bar(b, a);
}


// RUN: %llvmgcc -O2 -c -emit-llvm %s -o - | llvm-dis | grep call

static int bar(int x, int y) __attribute__((noinline));

static int bar(int x, int y)  
{
 return x + y;
}

int foo(int a, int b) {
 return  bar(b, a);
}


Update test to check call instruction.
Update test to check call instruction.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@55702 91177308-0d34-0410-b5e6-96231b3b80d8
