[llvm-commits] Fix the AND dag node folding

Silviu Baranga silbar01 at arm.com
Wed Sep 5 01:59:52 PDT 2012


Thanks! Committed in r163203.

> -----Original Message-----
> From: Eli Friedman [mailto:eli.friedman at gmail.com]
> Sent: 04 September 2012 22:04
> To: Silviu Baranga
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] Fix the AND dag node folding
> 
> 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