[llvm-commits] Fix the AND dag node folding

Eli Friedman eli.friedman at gmail.com
Tue Sep 4 14:04:14 PDT 2012


On Sat, Sep 1, 2012 at 11:49 AM, Silviu Baranga <silbar01 at arm.com> wrote:
> Hi Eli,
>
> Thanks for the reviews.
>
>> What happens if SplatBitSize is less than BitWidth?
>
> If SplatBitSize is less than BitWidth the
> and node gets removed no matter what is in the
> SplatValue. This is clearly a bug. I've attached
> a new patch in which this case is also handled.

Looks fine.

-Eli



More information about the llvm-commits mailing list