[LLVMdev] Pattern class

Kotler, Reed rkotler at mips.com
Sun Sep 16 09:57:14 PDT 2012

I'm interested in class Pattern.

Classes Pat and ComplexPattern are used everywhere.

From: Triple Yang [triple.yang at gmail.com]
Sent: Sunday, September 16, 2012 9:55 AM
To: Kotler, Reed
Cc: LLVM-Dev ‎[llvmdev at cs.uiuc.edu]‎
Subject: Re: [LLVMdev] Pattern class

You might want to refer to lib/Target/Sparc/SparcInstrInfo.td for
examples of both Pat and ComplexPattern.


2012/9/16 Kotler, Reed <rkotler at mips.com>:
> Has anybody used the Pattern class. We all use Pat and ComplexPattern but I
> can't find any examples of Pattern.
> I have some instructions that I'm currently treating as pseudos but I'd like
> to treat them as patterns with several instructions but this does not seem
> to work, at least I can't get it to work so far.
> I get an error:
> Cannot handle instructions with temporaries yet!
> When I try and use it.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

杨勇勇 (Yang Yongyong)

More information about the llvm-dev mailing list