Kumail Ahmed via llvm-dev
2017-May-16 14:56 UTC
[llvm-dev] How to remove a memory slot while allocating a register
Hi everyone,
Suppose I have the following IR structure:
BLOCK0:
REG_X0 = 3
STORE_TO_MEMORY_SLOT_M0 = X0;
BLOCK1:
// several lines of ir code
// several lines of ir code
// several lines of ir code
REG_XX = LOAD_FROM_MEMORY_SLOT_MO
LOOP_BACK_TO_BLOCK1 REG_XX
How can I remove the load/store memory slots and directly use register X0
in the loop instruction?
Best Regards,
Kumail Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20170516/ea864f28/attachment.html>