Fix a case where vector comparison constant folding would cause an

infinite recursion.  part of PR2529


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2008-07-10 00:29:28 +00:00
parent cd4e5b0417
commit fea85c46c0
2 changed files with 39 additions and 33 deletions
@@ -20,3 +20,9 @@ undef>, <float 1.0, float 1.0, float 1.0, float undef>
ret <4 x i32> %foo
}
define <4 x i32> @test4() {
%foo = vfcmp ueq <4 x float> <float 0.0, float 0.0, float 0.0, float 0.0>, <float 1.0, float 1.0, float 1.0, float 0.0>
ret <4 x i32> %foo
}