]> granicus.if.org Git - clang/commitdiff
when assertions are disabled, labels go away. Hopefully fixes the windows build.
authorChris Lattner <sabre@nondot.org>
Sun, 17 Apr 2011 16:19:57 +0000 (16:19 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Apr 2011 16:19:57 +0000 (16:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129660 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/switch-dce.c

index 07a5eba23607f588e1ffcae2bed5d6df15c96357..4013809cbf605454508261c67ba21f286e5ef5b0 100644 (file)
@@ -220,10 +220,8 @@ void test12() {
 // rdar://9289524 - Check that the empty cases don't produce an empty block.
 // CHECK: @test13
 // CHECK: switch 
-// CHECK:     i32 42, label %sw.epilog
-// CHECK:     i32 11, label %sw.epilog
-// CHECK: sw.epilog:
-// CHECK: ret void
+// CHECK:     i32 42, label [[EPILOG:%[0-9.a-z]+]]
+// CHECK:     i32 11, label [[EPILOG]]
 void test13(int x) {
   switch (x) {
   case 42: break;  // No empty block please.