mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
R600: CF_PUSH is the same on Evergreen and Cayman
reviewed-by: Vincent Lejeune <vljn at ovi.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -372,7 +372,7 @@ public:
|
||||
MaxStack = std::max(MaxStack, CurrentStack);
|
||||
HasPush = true;
|
||||
if (ST.hasCaymanISA() && CurrentLoopDepth > 1) {
|
||||
BuildMI(MBB, MI, MBB.findDebugLoc(MI), TII->get(AMDGPU::CF_PUSH_CM))
|
||||
BuildMI(MBB, MI, MBB.findDebugLoc(MI), TII->get(AMDGPU::CF_PUSH_EG))
|
||||
.addImm(CfCount + 1)
|
||||
.addImm(1);
|
||||
MI->setDesc(TII->get(AMDGPU::CF_ALU));
|
||||
|
Reference in New Issue
Block a user