[llvm-dev] How to remove a memory slot while allocating a register
Kumail Ahmed via llvm-dev
llvm-dev at lists.llvm.org
Tue May 16 07:56:18 PDT 2017
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>
More information about the llvm-dev
mailing list