Displaying 3 results from an estimated 3 matches for "subreg_hi".
2013 Feb 23
2
[LLVMdev] Assertion failed after my storeRegToStackSlot/loadFromStackSlot
...will must to split it
to two instruction like this:
BuildMI(MBB, MI, dl, get(Z80::LD8xmr))
.addFrameIndex(FrameIndex).addImm(0)
.addReg(SrcReg, 0, Z80::subreg_lo);
BuildMI(MBB, MI, dl, get(Z80::LD8xmr))
.addFrameIndex(FrameIndex).addImm(1)
.addReg(SrcReg, getKillRegState(isKill), Z80::subreg_hi);
After this store I catch assertion failed: "Instruction not found in
maps", because only last of this instruction added in Instruction maps.
How can I avoid assertion failed in this case?
Best regards, Dmitriy.
2013 Mar 04
0
[LLVMdev] Assertion failed after my storeRegToStackSlot/loadFromStackSlot
...ruction like this:
>
> BuildMI(MBB, MI, dl, get(Z80::LD8xmr))
> .addFrameIndex(FrameIndex).**addImm(0)
> .addReg(SrcReg, 0, Z80::subreg_lo);
> BuildMI(MBB, MI, dl, get(Z80::LD8xmr))
> .addFrameIndex(FrameIndex).**addImm(1)
> .addReg(SrcReg, getKillRegState(isKill), Z80::subreg_hi);
>
> After this store I catch assertion failed: "Instruction not found in
> maps", because only last of this instruction added in Instruction maps.
> How can I avoid assertion failed in this case?
>
> Best regards, Dmitriy.
>
> ______________________________**____...
2013 Mar 06
1
[LLVMdev] Assertion failed after my storeRegToStackSlot/loadFromStackSlot
...gt;
> BuildMI(MBB, MI, dl, get(Z80::LD8xmr))
> .addFrameIndex(FrameIndex).addImm(0)
> .addReg(SrcReg, 0, Z80::subreg_lo);
> BuildMI(MBB, MI, dl, get(Z80::LD8xmr))
> .addFrameIndex(FrameIndex).addImm(1)
> .addReg(SrcReg, getKillRegState(isKill), Z80::subreg_hi);
>
> After this store I catch assertion failed: "Instruction not found
> in maps", because only last of this instruction added in
> Instruction maps.
> How can I avoid assertion failed in this case?
>
> Best regards, Dmitriy.
>
> _______...