summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/pragma-optimize.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul_robinson@playstation.sony.com>2014-12-10 23:32:57 +0000
committerPaul Robinson <paul_robinson@playstation.sony.com>2014-12-10 23:32:57 +0000
commit621b6d3bf7ef7293dd09e315f0a9d1238109d929 (patch)
treebbd327f91b4166fe329e750e266b7e5d826bdce4 /clang/test/SemaCXX/pragma-optimize.cpp
parent29278a6ac43c268f419dc095cf7b38a6faacb3e4 (diff)
downloadbcm5719-llvm-621b6d3bf7ef7293dd09e315f0a9d1238109d929.tar.gz
bcm5719-llvm-621b6d3bf7ef7293dd09e315f0a9d1238109d929.zip
Revert r223980 as it had wrong commit message.
llvm-svn: 223984
Diffstat (limited to 'clang/test/SemaCXX/pragma-optimize.cpp')
-rw-r--r--clang/test/SemaCXX/pragma-optimize.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/test/SemaCXX/pragma-optimize.cpp b/clang/test/SemaCXX/pragma-optimize.cpp
index b84d232b8ad..0a9f0410703 100644
--- a/clang/test/SemaCXX/pragma-optimize.cpp
+++ b/clang/test/SemaCXX/pragma-optimize.cpp
@@ -55,13 +55,6 @@ int __attribute__((always_inline)) baz(int z) {
}
// CHECK-DAG: @_Z3bazi{{.*}} [[ATTRBAZ:#[0-9]+]]
-// This function definition will not be decorated with `optnone` because the
-// attribute would conflict with `minsize`.
-int __attribute__((minsize)) bax(int z) {
- return foo(z, 2);
-}
-// CHECK-DAG: @_Z3baxi{{.*}} [[ATTRBAX:#[0-9]+]]
-
#pragma clang optimize on
// The function "int wombat(int param)" created by the macro is not
@@ -151,7 +144,6 @@ int yet_another_normal(int x) {
// Check that the other functions do NOT have optnone.
// CHECK-DAG-NOT: attributes [[ATTRFOO]] = { {{.*}}optnone{{.*}} }
// CHECK-DAG-NOT: attributes [[ATTRBAZ]] = { {{.*}}optnone{{.*}} }
-// CHECK-DAG-NOT: attributes [[ATTRBAX]] = { {{.*}}optnone{{.*}} }
// CHECK-DAG-NOT: attributes [[ATTRWOMBAT]] = { {{.*}}optnone{{.*}} }
// CHECK-DAG-NOT: attributes [[ATTRCONTAINER]] = { {{.*}}optnone{{.*}} }
// CHECK-DAG-NOT: attributes [[ATTRTWICE]] = { {{.*}}optnone{{.*}} }
OpenPOWER on IntegriCloud