summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/R600CodeEmitter.cpp4
1 files changed, 3 insertions, 1 deletions
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()) {