search for: special_add

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

2017 May 09
3
Instruction selection for 'load' based on static vs. dynamic data
...> 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. can I write something like def: Pat<(ld (add (WRAPPER RC:$addr), (sign_extend RC:$offset))), (load_instruction_rr (special_add RC:$addr, RC:$offset))>; ? Or do I have to go via some pseudo-instruction for that?
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