diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 23:48:37 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 23:48:37 +0000 |
| commit | 67037ee21e95804528ecb559980ad9d35ba2eed1 (patch) | |
| tree | 855d24c864167ad8fbd5c3a1dd9b576de215f0ff /clang/test/Frontend | |
| parent | 67a4fc71df2a46a273ee5aa8f81e31e92067e5da (diff) | |
| download | bcm5719-llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.tar.gz bcm5719-llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.zip | |
Revert "Specify target triple in alwaysinline tests."
Revert "Always_inline codegen rewrite."
Breaks gdb & lldb tests.
Breaks on Fedora 22 x86_64.
llvm-svn: 247491
Diffstat (limited to 'clang/test/Frontend')
| -rw-r--r-- | clang/test/Frontend/optimization-remark-line-directive.c | 3 | ||||
| -rw-r--r-- | clang/test/Frontend/optimization-remark.c | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/clang/test/Frontend/optimization-remark-line-directive.c b/clang/test/Frontend/optimization-remark-line-directive.c index 23d63c9aa1e..f4c0011fb4f 100644 --- a/clang/test/Frontend/optimization-remark-line-directive.c +++ b/clang/test/Frontend/optimization-remark-line-directive.c @@ -5,9 +5,8 @@ // RUN: %clang_cc1 %s -Rpass=inline -gline-tables-only -dwarf-column-info -emit-llvm-only -verify int foo(int x, int y) __attribute__((always_inline)); -// expected-remark@+1 {{foo.alwaysinline inlined into foo}} int foo(int x, int y) { return x + y; } -// expected-remark@+2 {{foo.alwaysinline inlined into bar}} expected-note@+2 {{could not determine the original source location for /bad/path/to/original.c:1230:25}} +// expected-remark@+2 {{foo inlined into bar}} expected-note@+2 {{could not determine the original source location for /bad/path/to/original.c:1230:25}} #line 1230 "/bad/path/to/original.c" int bar(int j) { return foo(j, j - 2); } diff --git a/clang/test/Frontend/optimization-remark.c b/clang/test/Frontend/optimization-remark.c index 604fec00204..6ada0030a70 100644 --- a/clang/test/Frontend/optimization-remark.c +++ b/clang/test/Frontend/optimization-remark.c @@ -32,8 +32,6 @@ // CHECK-NOT: !llvm.dbg.cu = !{ int foo(int x, int y) __attribute__((always_inline)); -// expected-remark@+2 {{foo.alwaysinline should always be inlined}} -// expected-remark@+1 {{foo.alwaysinline inlined into foo}} int foo(int x, int y) { return x + y; } float foz(int x, int y) __attribute__((noinline)); @@ -47,7 +45,7 @@ int bar(int j) { // expected-remark@+5 {{foz will not be inlined into bar}} // expected-remark@+4 {{foz should never be inlined}} // expected-remark@+3 {{foz will not be inlined into bar}} -// expected-remark@+2 {{foo.alwaysinline should always be inlined}} -// expected-remark@+1 {{foo.alwaysinline inlined into bar}} +// expected-remark@+2 {{foo should always be inlined}} +// expected-remark@+1 {{foo inlined into bar}} return foo(j, j - 2) * foz(j - 2, j); } |

