[llvm-commits] [llvm] r63481 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/multi-use-or.ll

Eli Friedman eli.friedman at gmail.com
Sun Feb 1 16:24:22 PST 2009


On Sat, Jan 31, 2009 at 12:40 AM, Chris Lattner <sabre at nondot.org> wrote:
> +      if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) ==
> +          (DemandedMask & (~RHSKnownZero)))
> +        return I->getOperand(0);

Is this doing the right thing with respect to KnownZero/KnownOne?  It
looks suspicious.

-Eli



More information about the llvm-commits mailing list