[llvm] r215588 - [FastISel] Let the target decide first if it wants to materialize a constant.

Eric Christopher echristo at gmail.com
Wed Sep 3 10:20:47 PDT 2014


Sorry for the delay. Only comment is that the formatting would have been
nice to look at as a separate patch since it made it hard to see the rest :)

Thank you very much for doing this!

-eric


On Fri, Aug 22, 2014 at 7:44 PM, Juergen Ributzka <juergen at apple.com> wrote:

> Finally got around to do some spring cleaning :P I guess the function
> names still deserve some bikeshedding.
>
> Cheers,
> Juergen
>
>
>
>
>
> On Aug 14, 2014, at 11:02 AM, Jim Grosbach <grosbach at apple.com> wrote:
>
> > Indeed. Just remember, you touch it you own it. ;)
> >
> > -Jim
> >
> >> On Aug 14, 2014, at 10:52 AM, Eric Christopher <echristo at gmail.com>
> wrote:
> >>
> >> Thanks for all the work Juergen!
> >>
> >> -eric
> >>
> >> On Thu, Aug 14, 2014 at 10:52 AM, Juergen Ributzka <juergen at apple.com>
> wrote:
> >>> Sure, will do.
> >>>
> >>> On Aug 14, 2014, at 10:50 AM, Eric Christopher <echristo at gmail.com>
> wrote:
> >>>
> >>>> Excellent. Let's do it.
> >>>>
> >>>> On Thu, Aug 14, 2014 at 10:49 AM, Jim Grosbach <grosbach at apple.com>
> wrote:
> >>>>> When there’s active and steady development in the area already is
> when it makes sense to go ahead and do style and conventions cleanups like
> this. Go for it.
> >>>>>
> >>>>> -Jim
> >>>>>
> >>>>>> On Aug 14, 2014, at 10:43 AM, Eric Christopher <echristo at gmail.com>
> wrote:
> >>>>>>
> >>>>>> Mmm.. that way may lie madness. I'm always a proponent of big
> changes
> >>>>>> to make things consistent, but let's use a 3rd party to check.
> >>>>>>
> >>>>>> Jim? :)
> >>>>>>
> >>>>>> -eric
> >>>>>>
> >>>>>> On Thu, Aug 14, 2014 at 10:41 AM, Juergen Ributzka <
> juergen at apple.com> wrote:
> >>>>>>> Should we also change tblgen to not emit capitalized function
> names anymore for FastEmit_*?
> >>>>>>>
> >>>>>>> -Juergen
> >>>>>>>
> >>>>>>> On Aug 14, 2014, at 10:38 AM, Eric Christopher <echristo at gmail.com>
> wrote:
> >>>>>>>
> >>>>>>>> That would be pretty nice. Generally we don't do the mass changes
> like
> >>>>>>>> that, but I think the file is pretty awkward right now and so I'd
> >>>>>>>> appreciate it for sure :)
> >>>>>>>>
> >>>>>>>> -eric
> >>>>>>>>
> >>>>>>>> On Thu, Aug 14, 2014 at 10:37 AM, Juergen Ributzka <
> juergen at apple.com> wrote:
> >>>>>>>>> Copy paste from TargetMaterializeConstant ;) The file is a
> little bit of a
> >>>>>>>>> mess when it comes to function names. Should I do a cleanup and
> update all
> >>>>>>>>> the function names while I am at it?
> >>>>>>>>>
> >>>>>>>>> -Juergen
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Aug 13, 2014, at 6:30 PM, Eric Christopher <
> echristo at gmail.com> wrote:
> >>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> -/// materializeRegForValue - Helper for getRegForValue. This
> function is
> >>>>>>>>>> -/// called when the value isn't already available in a
> register and must
> >>>>>>>>>> -/// be materialized with new instructions.
> >>>>>>>>>> -unsigned FastISel::materializeRegForValue(const Value *V, MVT
> VT) {
> >>>>>>>>>> +unsigned FastISel::MaterializeConstant(const Value *V, MVT VT)
> {
> >>>>>>>>>> unsigned Reg = 0;
> >>>>>>>>>> -
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Coding standard has functions with lower case names? :)
> >>>>>>>>>
> >>>>>>>>> -eric
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>
> >>>
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140903/aa1dbdd9/attachment.html>


More information about the llvm-commits mailing list