new testcase that causes instcombine to infinitely loop

llvm-svn: 33342
This commit is contained in:
Chris Lattner 2007-01-18 22:16:03 +00:00
parent 97638ab49a
commit f457b999c7

View File

@ -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
}