diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-18 22:16:03 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-18 22:16:03 +0000 |
| commit | bb4e2a547fe771d3d14a6c4c5f777b4e05f88da2 (patch) | |
| tree | be532dbb771b449e7ca5068f38c5267dcead556f /llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll | |
| parent | 5cf93b411fd75864e55d1aa1dbb4c388a51c94e4 (diff) | |
| download | bcm5719-llvm-bb4e2a547fe771d3d14a6c4c5f777b4e05f88da2.tar.gz bcm5719-llvm-bb4e2a547fe771d3d14a6c4c5f777b4e05f88da2.zip | |
new testcase that causes instcombine to infinitely loop
llvm-svn: 33342
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll b/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll new file mode 100644 index 00000000000..0aa20228299 --- /dev/null +++ b/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output + +define <4 x i32> %test(<4 x i32> %A) { + %B = xor <4 x i32> %A, < i32 -1, i32 -1, i32 -1, i32 -1 > + %C = and <4 x i32> %B, < i32 -1, i32 -1, i32 -1, i32 -1 > + ret <4 x i32> %C +} |

