Displaying 1 result from an estimated 1 matches for "num_tim".
Did you mean:
numstim
2017 Jun 15
2
LLC does not do proper copy propagation (or copy coalescing)
Hello.
Could you please tell me how can I optimize with the back end (llc) the following
piece of assembly code generated by llc:
// NOTE: my processor accepts loops in the form of REPEAT(num_times)..END_REPEAT
R0 = ...
REPEAT(256)
R5 = R0; // basically unnecessary reg. copy
REPEAT(256)
R10 = LS[R4];
R2 = LS[R5];
R4 = R4 + R1;
R5 = R5 + R1; // should be R0 = R0 + R1
R10 = R2 * R10;
R3 = R3 + R1...