Author: lattner
Date: Sun Apr 17 11:19:57 2011
New Revision: 129660
URL: http://llvm.org/viewvc/llvm-project?rev=129660&view=rev
Log:
when assertions are disabled, labels go away. Hopefully fixes the windows
build.
Modified:
cfe/trunk/test/CodeGen/switch-dce.c
Modified: cfe/trunk/test/CodeGen/switch-dce.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/switch-dce.c?rev=129660&r1=129659&r2=129660&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/switch-dce.c (original)
+++ cfe/trunk/test/CodeGen/switch-dce.c Sun Apr 17 11:19:57 2011
@@ -220,10 +220,8 @@
// 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.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits