[llvm-dev] New register class and patterns
Rail Shafigulin via llvm-dev
llvm-dev at lists.llvm.org
Fri Feb 5 12:42:21 PST 2016
On Fri, Feb 5, 2016 at 12:03 PM, Matt Arsenault <arsenm2 at gmail.com> wrote:
>
> On Feb 5, 2016, at 12:00, Rail Shafigulin <rail at esenciatech.com> wrote:
>
> Is this something that is always done by LLVM? Is it me who is telling to
> LLVM to do it? I'd appreciate if you could point out where in the code this
> is happening.
>
>
> You should add a let Defs = [FLAGREGISTERNAME] on the defining instruction
>
> -Matt
>
Sorry, previous email went out by mistake.
Well, as it turns out it is already done :(
let Defs = [SR], hasSideEffects = 1 in {
let Itinerary = l_sfeq in
defm SFEQ : SF<0x0, "l.sfeq", Escala_CC_EQ>;
.....
}
And I'm still getting an error:
error: In SFEQ_ri: Could not infer all types in pattern!
defm SFEQ : SF<0x0, "l.sfeq", Escala_CC_EQ>;
What else I should be looking at?
--
Rail Shafigulin
Software Engineer
Esencia Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160205/2203a939/attachment.html>
More information about the llvm-dev
mailing list