[PATCH] R600/SI: Don't assert on SCC usage

Matt Arsenault Matthew.Arsenault at amd.com
Tue Oct 22 11:42:35 PDT 2013


http://llvm-reviews.chandlerc.com/D2000

Files:
  lib/Target/R600/AMDGPUAsmPrinter.cpp

Index: lib/Target/R600/AMDGPUAsmPrinter.cpp
===================================================================
--- lib/Target/R600/AMDGPUAsmPrinter.cpp
+++ lib/Target/R600/AMDGPUAsmPrinter.cpp
@@ -196,8 +196,10 @@
           VCCUsed = true;
           continue;
         }
+
         switch (reg) {
         default: break;
+        case AMDGPU::SCC:
         case AMDGPU::EXEC:
         case AMDGPU::M0:
           continue;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2000.1.patch
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131022/5a10dc95/attachment.bin>


More information about the llvm-commits mailing list