Mesa (master): r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE
Tom Stellard
tstellar at kemper.freedesktop.org
Mon Apr 23 14:33:37 UTC 2012
Module: Mesa
Branch: master
Commit: 90a42df0d092dd43782fec83199750e194759d89
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90a42df0d092dd43782fec83199750e194759d89
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Apr 19 10:12:05 2012 -0400
r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE
---
src/gallium/drivers/radeon/R600CodeEmitter.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/radeon/R600CodeEmitter.cpp b/src/gallium/drivers/radeon/R600CodeEmitter.cpp
index d5f82cf..4d9ca4f 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()) {
More information about the mesa-commit
mailing list