diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-10-22 21:11:31 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-10-22 21:11:31 +0000 |
commit | 8305cae0045f804b7cca7c69f83f20ad847817bd (patch) | |
tree | dac0c73029ce014f4cd390b8a10400c32e7864e2 /lib | |
parent | d56c9db9603c3e2edf43405142dee60559559919 (diff) | |
download | external_llvm-8305cae0045f804b7cca7c69f83f20ad847817bd.zip external_llvm-8305cae0045f804b7cca7c69f83f20ad847817bd.tar.gz external_llvm-8305cae0045f804b7cca7c69f83f20ad847817bd.tar.bz2 |
R600/SI: Don't assert on SCC usage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/R600/AMDGPUAsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUAsmPrinter.cpp b/lib/Target/R600/AMDGPUAsmPrinter.cpp index f3ccce7..b147233 100644 --- a/lib/Target/R600/AMDGPUAsmPrinter.cpp +++ b/lib/Target/R600/AMDGPUAsmPrinter.cpp @@ -196,8 +196,10 @@ void AMDGPUAsmPrinter::EmitProgramInfoSI(MachineFunction &MF) { VCCUsed = true; continue; } + switch (reg) { default: break; + case AMDGPU::SCC: case AMDGPU::EXEC: case AMDGPU::M0: continue; |