diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-04-17 16:19:57 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-04-17 16:19:57 +0000 |
| commit | 38b6057a93f57531e89cfc39791809a0c0dd05b0 (patch) | |
| tree | 38d3e729e114b01dced2aa574ed566366bf97ea3 /clang/test/CodeGen/switch-dce.c | |
| parent | 2e2ff8894d7d86a91a1f64c513df143351401bff (diff) | |
| download | bcm5719-llvm-38b6057a93f57531e89cfc39791809a0c0dd05b0.tar.gz bcm5719-llvm-38b6057a93f57531e89cfc39791809a0c0dd05b0.zip | |
when assertions are disabled, labels go away. Hopefully fixes the windows build.
llvm-svn: 129660
Diffstat (limited to 'clang/test/CodeGen/switch-dce.c')
| -rw-r--r-- | clang/test/CodeGen/switch-dce.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/test/CodeGen/switch-dce.c b/clang/test/CodeGen/switch-dce.c index 07a5eba2360..4013809cbf6 100644 --- a/clang/test/CodeGen/switch-dce.c +++ b/clang/test/CodeGen/switch-dce.c @@ -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. |

