mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
c7e990a524
llvm-svn: 37480
14 lines
228 B
C
14 lines
228 B
C
// RUN: %llvmgxx -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);
|
|
}
|
|
|