summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-11-12 10:56:51 +0000
committerJames Molloy <james.molloy@arm.com>2015-11-12 10:56:51 +0000
commit57207ce922305ae2cedafa7a605dc6f8b39fdcd5 (patch)
treed21312d8ea69a70ca0844f76366f8f3f31d7fcc9
parent7e9bdd5d010b0378e3479d434bd2a3a359ff226d (diff)
downloadbcm5719-llvm-57207ce922305ae2cedafa7a605dc6f8b39fdcd5.tar.gz
bcm5719-llvm-57207ce922305ae2cedafa7a605dc6f8b39fdcd5.zip
Update clang regression tests for 'norecurse'
FunctionAttrs has just been taught how to infer 'norecurse'. Update clang tests for LLVM r252871. llvm-svn: 252872
-rw-r--r--clang/test/CodeGen/attr-minsize.cpp2
-rw-r--r--clang/test/CodeGen/function-attributes.c6
-rw-r--r--clang/test/CodeGenCXX/default-destructor-synthesis.cpp2
-rw-r--r--clang/test/CodeGenCXX/member-initializers.cpp2
-rw-r--r--clang/test/CodeGenCXX/pointers-to-data-members.cpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/CodeGen/attr-minsize.cpp b/clang/test/CodeGen/attr-minsize.cpp
index 0f07725fe8d..65e18532b66 100644
--- a/clang/test/CodeGen/attr-minsize.cpp
+++ b/clang/test/CodeGen/attr-minsize.cpp
@@ -76,4 +76,4 @@ void test5<float>(float arg);
// Oz: attributes [[MINSIZE]] = { minsize{{.*}} }
-// OTHER: attributes [[MS]] = { minsize nounwind{{.*}} }
+// OTHER: attributes [[MS]] = { minsize {{(norecurse )?}}nounwind{{.*}} }
diff --git a/clang/test/CodeGen/function-attributes.c b/clang/test/CodeGen/function-attributes.c
index 177ad848f74..3590dffaefe 100644
--- a/clang/test/CodeGen/function-attributes.c
+++ b/clang/test/CodeGen/function-attributes.c
@@ -128,9 +128,9 @@ void f20(void) {
_setjmp(0);
}
-// CHECK: attributes [[NUW]] = { nounwind optsize readnone{{.*}} }
-// CHECK: attributes [[AI]] = { alwaysinline nounwind optsize readnone{{.*}} }
-// CHECK: attributes [[ALIGN]] = { nounwind optsize readnone alignstack=16{{.*}} }
+// CHECK: attributes [[NUW]] = { norecurse nounwind optsize readnone{{.*}} }
+// CHECK: attributes [[AI]] = { alwaysinline norecurse nounwind optsize readnone{{.*}} }
+// CHECK: attributes [[ALIGN]] = { norecurse nounwind optsize readnone alignstack=16{{.*}} }
// CHECK: attributes [[RT]] = { nounwind optsize returns_twice{{.*}} }
// CHECK: attributes [[NR]] = { noreturn nounwind optsize }
// CHECK: attributes [[NUW_RN]] = { nounwind optsize readnone }
diff --git a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp b/clang/test/CodeGenCXX/default-destructor-synthesis.cpp
index af780044d19..8daf3832321 100644
--- a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp
+++ b/clang/test/CodeGenCXX/default-destructor-synthesis.cpp
@@ -35,4 +35,4 @@ int f() {
return count;
}
-// CHECK: attributes [[NUW]] = { nounwind{{.*}} }
+// CHECK: attributes [[NUW]] = { norecurse nounwind{{.*}} }
diff --git a/clang/test/CodeGenCXX/member-initializers.cpp b/clang/test/CodeGenCXX/member-initializers.cpp
index c98e6bf9236..5bbf00b3d2c 100644
--- a/clang/test/CodeGenCXX/member-initializers.cpp
+++ b/clang/test/CodeGenCXX/member-initializers.cpp
@@ -32,4 +32,4 @@ int test_fold() {
return A(2).i;
}
-// CHECK: attributes [[NUW_RN]] = { nounwind readnone{{.*}} }
+// CHECK: attributes [[NUW_RN]] = { norecurse nounwind readnone{{.*}} }
diff --git a/clang/test/CodeGenCXX/pointers-to-data-members.cpp b/clang/test/CodeGenCXX/pointers-to-data-members.cpp
index 94337d98a19..240d74084ac 100644
--- a/clang/test/CodeGenCXX/pointers-to-data-members.cpp
+++ b/clang/test/CodeGenCXX/pointers-to-data-members.cpp
@@ -295,4 +295,4 @@ U u;
// CHECK-GLOBAL: @_ZN11IndirectPDM1uE = global %"union.IndirectPDM::U" { %union.anon { i64 -1 } }, align 8
}
-// CHECK-O3: attributes [[NUW]] = { nounwind readnone{{.*}} }
+// CHECK-O3: attributes [[NUW]] = { norecurse nounwind readnone{{.*}} }
OpenPOWER on IntegriCloud