There are a lot of load/store instructions for accessing variable in stack slot. The following message is use "llc -march=ppc32" command and dump from MachineFunction.<div><div>        %reg16384<def> = LWZ 0, <fi#6>; mem:LD4[%b] GPRC:%reg16384</div>
<div>        %reg16385<def> = LWZ 0, <fi#5>; mem:LD4[%c] GPRC:%reg16385</div><div>        %reg16386<def> = ADD4 %reg16384<kill>, %reg16385<kill>; GPRC:%reg16386,16384,16385</div><div>        STW %reg16386<kill>, 0, <fi#7>; mem:ST4[%a] GPRC:%reg16386</div>
</div><div><br></div><div><div>I am interesting in this method because it seems smart and different from the compiler textbook. For understanding how it generated the LWZ and STW machine instruction, I search whole the LLVM2.8 and find somewhere about LWZ/STW in Target/PowerPC/ ,but there is nothing through here. Is there any other special way to generate those MachineInstr ?</div>
</div><div><br></div><div><span class="Apple-style-span" style="font-family: fixed-width, monospace; font-size: 12px; ">Thanks & Regards,</span></div><div><span class="Apple-style-span" style="font-family: fixed-width, monospace; font-size: 12px; ">Don</span></div>