mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
R600: Fix wrong address when substituting ENDIF
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39cd6fae34
commit
51f7225f55
@ -205,7 +205,7 @@ public:
|
||||
CurrentStack--;
|
||||
MachineInstr *IfOrElseInst = IfThenElseStack.back();
|
||||
IfThenElseStack.pop_back();
|
||||
CounterPropagateAddr(IfOrElseInst, CfCount);
|
||||
CounterPropagateAddr(IfOrElseInst, CfCount + 1);
|
||||
MachineInstr *MIb = BuildMI(MBB, MI, MBB.findDebugLoc(MI),
|
||||
TII->get(AMDGPU::POP))
|
||||
.addImm(CfCount + 1)
|
||||
|
Loading…
Reference in New Issue
Block a user