Browse Source

r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE

tags/i965-primitive-restart-v2
Tom Stellard 13 years ago
parent
commit
90a42df0d0
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/gallium/drivers/radeon/R600CodeEmitter.cpp

+ 3
- 1
src/gallium/drivers/radeon/R600CodeEmitter.cpp View File

@@ -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()) {

Loading…
Cancel
Save