summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/optimization-remark.c
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-14 21:35:16 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-14 21:35:16 +0000
commit6b2a61d3a5c1c1ac968e0593b8d9151207216882 (patch)
treed715507a835b34ed4913199e928408bf2d880758 /clang/test/Frontend/optimization-remark.c
parentddc04ef4933dbb176fde074613508d5311d3c338 (diff)
downloadbcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.tar.gz
bcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.zip
Revert "Always_inline codegen rewrite" and 2 follow-ups.
Revert "Update cxx-irgen.cpp test to allow signext in alwaysinline functions." Revert "[CodeGen] Remove wrapper-free always_inline functions from COMDATs" Revert "Always_inline codegen rewrite." Reason for revert: PR24793. llvm-svn: 247620
Diffstat (limited to 'clang/test/Frontend/optimization-remark.c')
-rw-r--r--clang/test/Frontend/optimization-remark.c6
1 files changed, 2 insertions, 4 deletions
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);
}
OpenPOWER on IntegriCloud