Displaying 1 result from an estimated 1 matches for "genericload".
Did you mean:
generic_load
2008 Oct 06
1
[LLVMdev] sign extensions on loads?
...uction, but I need to emit a conversion
instruction instead based on the src and dst data types. Any idea where
I would pattern this without having to custom lower the load
instruction?
Here is my current pattern:
def generic_load : PatFrag<(ops node:$ptr), (ld node:$ptr), [{
return isGenericLoad(dyn_cast<LoadSDNode>(N));
}]>;
def ADDRf : ComplexPattern<i32, 2, "SelectADDRf", [frameindex], []>;
// Load Memory Operations
multiclass LOADm<string asm, PatFrag OpNode, ComplexPattern addr> {
def _i32 : OneInOneOut<IL_OP_MOV, (outs GPR:$dst), (ins MEM:$...