[llvm-commits] [llvm-gcc] PR950-zext-bool.patch

Reid Spencer rspencer at reidspencer.com
Wed Jan 3 08:52:45 PST 2007


Here's the updated version. I tested this last night while I slept. It
passed everything. This version checks both integer and boolean types
for size < INT_TYPE_SIZE.

Reid.

On Wed, 2007-01-03 at 06:17 -0400, Jim Laskey wrote:
> Waiting till tomorrow (today actually.)
> 
> On 3-Jan-07, at 03:43 AM, Evan Cheng wrote:
> 
> > Please don't apply this. It's incorrectly forcing bool parameter to
> > be zero extended. That's wrong for targets (e.g. ppc32) which have 32-
> > bit boolean type.
> >
> > Reid will post a fixed version tomorrow.
> >
> > Evan
> > On Jan 2, 2007, at 11:04 PM, Reid Spencer wrote:
> >
> >> On Tue, 2007-01-02 at 22:58 -0800, Reid Spencer wrote:
> >>> To make it even easier, here's a replacement for gcc/llvm-types.cpp
> >>
> >> Scratch that. Sent the wrong file. Try this one. Sorry.
> >>
> >> Reid.
> >>
> >>>
> >>> Reid.
> >>>
> >>> On Tue, 2007-01-02 at 22:54 -0800, Reid Spencer wrote:
> >>>> The attached patch is already contained in the previous
> >>>> cumulative PR950
> >>>> patch. This contains just today's changes so it can be more easily
> >>>> applied to the Apple internal SVN server.
> >>>>
> >>>> Reid.
> >>>> _______________________________________________
> >>>> llvm-commits mailing list
> >>>> llvm-commits at cs.uiuc.edu
> >>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >>> _______________________________________________
> >>> llvm-commits mailing list
> >>> llvm-commits at cs.uiuc.edu
> >>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >>> <llvm-types.cpp>
> >> _______________________________________________
> >> llvm-commits mailing list
> >> llvm-commits at cs.uiuc.edu
> >> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-types.cpp
Type: text/x-c++src
Size: 47793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070103/cc6ca6b1/attachment.cpp>


More information about the llvm-commits mailing list