From 90a42df0d092dd43782fec83199750e194759d89 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 19 Apr 2012 10:12:05 -0400 Subject: [PATCH] r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE --- src/gallium/drivers/radeon/R600CodeEmitter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/R600CodeEmitter.cpp b/src/gallium/drivers/radeon/R600CodeEmitter.cpp index d5f82cf69a1..4d9ca4fab12 100644 --- a/src/gallium/drivers/radeon/R600CodeEmitter.cpp +++ b/src/gallium/drivers/radeon/R600CodeEmitter.cpp @@ -186,7 +186,9 @@ bool R600CodeEmitter::runOnMachineFunction(MachineFunction &MF) { emitALUInstr(MI); } isReduction = false; - } else if (MI.getOpcode() == AMDIL::RETURN) { + } else if (MI.getOpcode() == AMDIL::RETURN || + MI.getOpcode() == AMDIL::BUNDLE || + MI.getOpcode() == AMDIL::KILL) { continue; } else { switch(MI.getOpcode()) { -- 2.30.2