Displaying 2 results from an estimated 2 matches for "load_instruction".
2017 May 09
2
Instruction selection for 'load' based on static vs. dynamic data
On Mon, 8 May 2017, Krzysztof Parzyszek via llvm-dev wrote:
> You can create the differentiation between objects in the data memory and in
> the program memory in LowerGlobalAddress (e.g. you can create different ISD
> opcodes that generate these addresses) and then use those to select
> corresponding instructions.
Right, which is how I also understand Zhai Xiang's suggestion
2017 May 09
3
Instruction selection for 'load' based on static vs. dynamic data
On Tue, 9 May 2017, Krzysztof Parzyszek wrote:
> def: Pat<(ld (add (WRAPPER RC:$addr), (sign_extend RC:$offset))),
> (load_instruction_rr RC:$addr, RC:$offset)>;
>
> Where "load_instruction" is a machine load instruction with base address and
> an offset, both in registers, and RC is the corresponding register class.
Can I also use something more complex than a single machine load
instruction here? I.e. ca...