[PATCH] InstCombineCompare with constant return false if we know it is never going to be equal
Nick Lewycky
nlewycky at gmail.com
Wed Jun 18 00:08:17 PDT 2014
computeKnownBits is really expensive. Please check ICmpInst::isEquality(Pred) before the rest of this logic. LGTM with that change.
http://reviews.llvm.org/D3868
More information about the llvm-commits
mailing list