[coroutines] Fix coro-eh-cleanup.cpp test
authorGor Nishanov <GorNishanov@gmail.com>
Mon, 22 May 2017 22:41:28 +0000 (22:41 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Mon, 22 May 2017 22:41:28 +0000 (22:41 +0000)
llvm-svn: 303584

clang/test/CodeGenCoroutines/coro-eh-cleanup.cpp

index 901ed54..5a3ecd1 100644 (file)
@@ -51,7 +51,7 @@ coro_t f() {
 // CHECK: [[EHCLEANUP]]:
 // CHECK:   %[[INNERPAD:.+]] = cleanuppad within none []
 // CHECK:   call void @"\01??_DCleanup@@QEAAXXZ"(
-// CHECK:   cleanupret from %4 unwind label %[[CATCHDISPATCH:.+]]
+// CHECK:   cleanupret from %{{.+}} unwind label %[[CATCHDISPATCH:.+]]
 
 // CHECK: [[CATCHDISPATCH]]:
 // CHECK:   catchswitch within none [label %[[CATCHPAD:.+]]] unwind label %[[COROENDBB:.+]]