aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2009-09-04 19:22:51 +0000
committerTanya Lattner <tonic@nondot.org>2009-09-04 19:22:51 +0000
commit3ee29bf6650fe4460372f7fb0c77635f58ea7a8f (patch)
tree6e80a7cc4110587a7ec94bbe7e848940158479fd /test
parent6575f3e97afbd8c0f1c4ccea8fdfa4f26c0825f1 (diff)
Merge 80761 from mainline.
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/branches/release_26@81027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/icmp.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/icmp.ll b/test/Transforms/InstCombine/icmp.ll
index 27136d6943..3bf3fcd07b 100644
--- a/test/Transforms/InstCombine/icmp.ll
+++ b/test/Transforms/InstCombine/icmp.ll
@@ -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
+} \ No newline at end of file