diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-06-29 23:17:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-06-29 23:17:15 +0000 |
commit | 00e7fed30de9cba7697ee37c9b01f8f17c409217 (patch) | |
tree | f0cb38ca6554b0f32299edc291b29ad1d8896d3c /test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll | |
parent | 1a957d563fe894c797e0eba00bf069fbe7ecba77 (diff) | |
download | external_llvm-00e7fed30de9cba7697ee37c9b01f8f17c409217.zip external_llvm-00e7fed30de9cba7697ee37c9b01f8f17c409217.tar.gz external_llvm-00e7fed30de9cba7697ee37c9b01f8f17c409217.tar.bz2 |
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll')
-rw-r--r-- | test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll b/test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll new file mode 100644 index 0000000..eaedb52 --- /dev/null +++ b/test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll @@ -0,0 +1,50 @@ +; RUN: llvm-as < %s | | llc -march=x86 -mattr=+sse2 + +define void @test() { +entry: + br i1 false, label %bb13944.preheader, label %cond_true418 + +cond_true418: ; preds = %entry + ret void + +bb13944.preheader: ; preds = %entry + br i1 false, label %bb3517, label %bb13968.preheader + +bb3517: ; preds = %bb13944.preheader + br i1 false, label %cond_false7408, label %cond_next11422 + +cond_false7408: ; preds = %bb3517 + switch i32 0, label %cond_false10578 [ + i32 7, label %cond_next11422 + i32 6, label %cond_true7828 + i32 1, label %cond_true10095 + i32 3, label %cond_true10095 + i32 5, label %cond_true10176 + i32 24, label %cond_true10176 + ] + +cond_true7828: ; preds = %cond_false7408 + br i1 false, label %cond_next8191, label %cond_true8045 + +cond_true8045: ; preds = %cond_true7828 + ret void + +cond_next8191: ; preds = %cond_true7828 + %tmp8234 = sub <4 x i32> < i32 939524096, i32 939524096, i32 939524096, i32 939524096 >, zeroinitializer ; <<4 x i32>> [#uses=0] + ret void + +cond_true10095: ; preds = %cond_false7408, %cond_false7408 + ret void + +cond_true10176: ; preds = %cond_false7408, %cond_false7408 + ret void + +cond_false10578: ; preds = %cond_false7408 + ret void + +cond_next11422: ; preds = %cond_false7408, %bb3517 + ret void + +bb13968.preheader: ; preds = %bb13944.preheader + ret void +} |