R600: Take export into account when computing cf address

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vincent Lejeune
2013-04-04 13:59:59 +00:00
parent 3105d85dc4
commit 39cd6fae34
2 changed files with 54 additions and 0 deletions

View File

@ -143,6 +143,10 @@ public:
CurrentStack++;
MaxStack = std::max(MaxStack, CurrentStack);
case AMDGPU::CF_ALU:
case AMDGPU::EG_ExportBuf:
case AMDGPU::EG_ExportSwz:
case AMDGPU::R600_ExportBuf:
case AMDGPU::R600_ExportSwz:
DEBUG(dbgs() << CfCount << ":"; MI->dump(););
CfCount++;
break;