| Tanya Lattner | 65cdd36 | 2007-06-06 20:52:16 +0000 | [diff] [blame^] | 1 | // RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline |
| 2 | |||||
| 3 | int bar(int x, int y); __attribute__((noinline)) | ||||
| 4 | |||||
| 5 | int bar(int x, int y) | ||||
| 6 | { | ||||
| 7 | return x + y; | ||||
| 8 | } | ||||
| 9 | |||||
| 10 | int foo(int a, int b) { | ||||
| 11 | return bar(b, a); | ||||
| 12 | } | ||||
| 13 | |||||