r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE
authorTom Stellard <thomas.stellard@amd.com>
Thu, 19 Apr 2012 14:12:05 +0000 (10:12 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Apr 2012 13:34:04 +0000 (09:34 -0400)
src/gallium/drivers/radeon/R600CodeEmitter.cpp

index d5f82cf..4d9ca4f 100644 (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()) {