[PATCH] D19199: AMDGPU/SI: SGPR accounting in getSIProgramInfo must ignore exec_lo/hi

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 15:03:57 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL266824: AMDGPU/SI: SGPR accounting in getSIProgramInfo must ignore exec_lo/hi (authored by nha).

Changed prior to commit:
  http://reviews.llvm.org/D19199?vs=54008&id=54271#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D19199

Files:
  llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp

Index: llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
@@ -370,6 +370,8 @@
         unsigned reg = MO.getReg();
         switch (reg) {
         case AMDGPU::EXEC:
+        case AMDGPU::EXEC_LO:
+        case AMDGPU::EXEC_HI:
         case AMDGPU::SCC:
         case AMDGPU::M0:
           continue;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19199.54271.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160419/cf09d24b/attachment.bin>


More information about the llvm-commits mailing list