[LLVMdev] Pattern class

Kotler, Reed rkotler at mips.com
Sun Sep 16 12:34:06 PDT 2012


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




More information about the llvm-dev mailing list