Displaying 1 result from an estimated 1 matches for "generic_load".
2008 Oct 06
1
[LLVMdev] sign extensions on loads?
...te the correct code. I can match against the load
and generate a store instruction, 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&...