Displaying 2 results from an estimated 2 matches for "canfoldmemoryoperand".
2011 May 16
0
[LLVMdev] TargetRegisterInfo and "infinite" register files
...#39;s register allocator like this:
- Provide a realistic number of physical registers. Make it similar to the target architecture, but aim low.
- Map spill slots to PTX registers. That means 'spilling' is really a noop, except you get live range splitting and remat. If you implement TII::canFoldMemoryOperand() and TII::foldMemoryOperandImpl(), there will be no inserted loads and stores.
The result should be code that is easy to register allocate for ptxas with some live ranges that obviously should go in registers, and some that obviously should spill. There will be a number of live ranges that can go...
2011 May 16
6
[LLVMdev] TargetRegisterInfo and "infinite" register files
Currently, the TableGen register info files for all of the back-ends define
concrete registers and divide them into logical register classes. I would
like to get some input from the LLVM experts around here on how best to map
this model to an architecture that does *not* have a concrete, pre-defined
register file. The architecture is PTX, which is more of an intermediate
form than a final