Fix PR11948: the result type of an icmp may be a vector of boolean -
authorDuncan Sands <baldrick@free.fr>
Fri, 10 Feb 2012 14:31:24 +0000 (14:31 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 10 Feb 2012 14:31:24 +0000 (14:31 +0000)
commitaa97bb54f02784abefa0ae170af5937915bdb329
treee94fbc877e972fa4b6b4eff8707aef62124186a6
parentedfb931edbf31f8de132834e064ede723ac74d23
Fix PR11948: the result type of an icmp may be a vector of boolean -
don't assume it is a boolean.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150247 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstSimplify/compare.ll