summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp b/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp
index 1f36105b251..eeb8d265f7e 100644
--- a/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp
+++ b/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp
@@ -81,6 +81,9 @@ void AMDGPUAsmPrinter::EmitProgramInfo(MachineFunction &MF) {
VCCUsed = true;
continue;
}
+ if (reg == AMDGPU::EXEC) {
+ continue;
+ }
if (AMDGPU::SReg_32RegClass.contains(reg)) {
isSGPR = true;
width = 1;