]> granicus.if.org Git - clang/commitdiff
Update clang regression tests for 'norecurse'
authorJames Molloy <james.molloy@arm.com>
Thu, 12 Nov 2015 10:56:51 +0000 (10:56 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 12 Nov 2015 10:56:51 +0000 (10:56 +0000)
FunctionAttrs has just been taught how to infer 'norecurse'. Update clang tests for LLVM r252871.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252872 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/attr-minsize.cpp
test/CodeGen/function-attributes.c
test/CodeGenCXX/default-destructor-synthesis.cpp
test/CodeGenCXX/member-initializers.cpp
test/CodeGenCXX/pointers-to-data-members.cpp

index 0f07725fe8d89a6bbd572605a3f9c463821c8c93..65e18532b66cded6befcc7d68a1c888996b0f49b 100644 (file)
@@ -76,4 +76,4 @@ void test5<float>(float arg);
 
 // Oz: attributes [[MINSIZE]] = { minsize{{.*}} }
 
-// OTHER: attributes [[MS]] = { minsize nounwind{{.*}} }
+// OTHER: attributes [[MS]] = { minsize {{(norecurse )?}}nounwind{{.*}} }
index 177ad848f74389a95f40d36da6ea02c5969bc401..3590dffaefe67149ee0b69a223df49dfbbe85079 100644 (file)
@@ -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 }
index af780044d193bb9d902547fde7625696e73f32e2..8daf383232146a444f641a0b3daaa8c14790a0aa 100644 (file)
@@ -35,4 +35,4 @@ int f() {
   return count;
 }
 
-// CHECK: attributes [[NUW]] = { nounwind{{.*}} }
+// CHECK: attributes [[NUW]] = { norecurse nounwind{{.*}} }
index c98e6bf92362ee22575db64d816af5300b52893a..5bbf00b3d2c1371d135150ba949b5943eebf00bc 100644 (file)
@@ -32,4 +32,4 @@ int test_fold() {
   return A(2).i;
 }
 
-// CHECK: attributes [[NUW_RN]] = { nounwind readnone{{.*}} }
+// CHECK: attributes [[NUW_RN]] = { norecurse nounwind readnone{{.*}} }
index 94337d98a1956bb82555de64febebe82a4195c59..240d74084ac9f509ad59ca1c6699923e5eae1ad4 100644 (file)
@@ -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{{.*}} }