Displaying 1 result from an estimated 1 matches for "selectaddrf".
Did you mean:
selectaddr
2008 Oct 06
1
[LLVMdev] sign extensions on loads?
...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:$ptr),
asm, [(set (i32 GPR:$dst), (OpNode addr:$ptr))]>;
def _f32 : OneInOneOut<...