fix PR4837, some bugs folding vector compares. These

return a vector of i1, not i1 itself.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-09-02 05:12:37 +00:00
parent d3bd0821b0
commit 9e17b632ec
2 changed files with 13 additions and 7 deletions

View File

@@ -28,3 +28,9 @@ entry:
ret i32 %1
}
; PR4837
define <2 x i1> @test5(<2 x i64> %x) {
entry:
%V = icmp eq <2 x i64> %x, undef
ret <2 x i1> %V
}