search for: gendag

Displaying 2 results from an estimated 2 matches for "gendag".

Did you mean: agenda
2012 Jan 18
2
[LLVMdev] Question about isel patterns
I am looking for a way to define patterns without specifying the type of the root node in the RHS result. I want to be able to write something like this: def : Pat<(i64 imm:$in), (GenDAG imm:$in)>; (GenDAG is a custom function that returns the DAG that replaces the node in the LHS.) A little background: Mips emits a sequence of instructions to load immediate constants that do not fit in the 16-bit immediate field of an instruction. The number or types of instructions in the se...
2012 Jan 18
0
[LLVMdev] Question about isel patterns
On Tue, Jan 17, 2012 at 7:04 PM, Akira Hatanaka <ahatanak at gmail.com> wrote: > I am looking for a way to define patterns without specifying the type > of the root node in the RHS result. > I want to be able to write something like this: > > def : Pat<(i64 imm:$in), (GenDAG imm:$in)>; > (GenDAG is a custom function that returns the DAG that replaces the > node in the LHS.) Why not just add a case to MipsDAGToDAGISel::Select? -Eli