[LLVMdev] Multi instruction pattern help

David Greene dag at cray.com
Tue Oct 7 11:44:56 PDT 2008

On Tuesday 07 October 2008 13:23, Evan Cheng wrote:

> What are you trying to do here? Your pattern is transforming target
> independent nodes into other target independent nodes (fp_to_uint,
> etc)? That's not going to work. Patterns are meant to transform  to
> target instruction nodes.

Yes, I ran into that problem a couple of weeks ago.  There are cases
where doing this kind of transformation is useful but tblgen doesn't support 
it yet.  Much of instcombine could be expressed with such patterns, for 


More information about the llvm-dev mailing list