R600/SI: Don't assert on SCC usage
[oota-llvm.git] / lib / Target / R600 / AMDGPUAsmPrinter.cpp
index f3ccce72c5a6204de9fbf5ad394b67e5bef8995e..b147233dae6f26c0f1132f2af9b0005c0b3231a3 100644 (file)
@@ -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;