r274396 - Removes CHECKs for symbolic label names (as Debug Clang will generate).

Tim Shen via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 1 15:50:00 PDT 2016


Author: timshen
Date: Fri Jul  1 17:50:00 2016
New Revision: 274396

URL: http://llvm.org/viewvc/llvm-project?rev=274396&view=rev
Log:
Removes CHECKs for symbolic label names (as Debug Clang will generate).

Differential Revision: http://reviews.llvm.org/D20499

Modified:
    cfe/trunk/test/CodeGen/temporary-lifetime.cpp

Modified: cfe/trunk/test/CodeGen/temporary-lifetime.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/temporary-lifetime.cpp?rev=274396&r1=274395&r2=274396&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/temporary-lifetime.cpp (original)
+++ cfe/trunk/test/CodeGen/temporary-lifetime.cpp Fri Jul  1 17:50:00 2016
@@ -87,11 +87,14 @@ void Test3() {
   // CHECK-DTOR-LABEL: Test3
   // CHECK-DTOR: call void @llvm.lifetime.start
   // CHECK-DTOR: call void @llvm.lifetime.start
-  // CHECK-DTOR: if.then:
+
+  // if.then:
   // CHECK-DTOR: call void @llvm.lifetime.end
-  // CHECK-DTOR: cleanup{{.*}}:
+
+  // cleanup:
   // CHECK-DTOR: call void @llvm.lifetime.end
-  // CHECK-DTOR: cleanup{{.*}}:
+
+  // cleanup:
   // CHECK-DTOR: call void @llvm.lifetime.end
   // CHECK-DTOR: }
   const A &a = A{};
@@ -105,9 +108,11 @@ void Test3() {
 void Test4() {
   // CHECK-DTOR-LABEL: Test4
   // CHECK-DTOR: call void @llvm.lifetime.start
-  // CHECK-DTOR: for.cond.cleanup:
+
+  // for.cond.cleanup:
   // CHECK-DTOR: call void @llvm.lifetime.end
-  // CHECK-DTOR: for.body:
+
+  // for.body:
   // CHECK-DTOR: }
   for (const A &a = A{}; a;) {
     Foo(a);




More information about the cfe-commits mailing list