[LLVMdev] Pattern class

Sean Silva silvas at purdue.edu
Sun Sep 16 13:09:13 PDT 2012


What have you tried?

On Sun, Sep 16, 2012 at 3:34 PM, Kotler, Reed <rkotler at mips.com> wrote:
> This Pattern class says it's possible but seems just to not work or maybe I'm using it incorrectly.
>
> Probably I will go and fix it when I'm done with mips16.
>
>
> ________________________________________
> From: Hal Finkel [hfinkel at anl.gov]
> Sent: Sunday, September 16, 2012 10:59 AM
> To: Anton Korobeynikov
> Cc: Kotler, Reed; LLVM-Dev ‎[llvmdev at cs.uiuc.edu]‎
> Subject: Re: [LLVMdev] Pattern class
>
> On Sun, 16 Sep 2012 21:33:26 +0400
> Anton Korobeynikov <anton at korobeynikov.info> wrote:
>
>> > This has several problems for direct object emitting
>> Why? Just expand these pseudos before asm printing and you're done.
>> This is the approach used by other targets. Check e.g. ARM backend for
>> handling movw + movt pair of instructions.
>
> I think that *if* it were possible to do this with patterns, then that
> would be the preferred mechanism.
>
>  -Hal
>
>>
>
>
>
> --
> Hal Finkel
> Postdoctoral Appointee
> Leadership Computing Facility
> Argonne National Laboratory
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list