diff options
author | Tom Stellard <[email protected]> | 2012-04-19 10:12:05 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-04-23 09:34:04 -0400 |
commit | 90a42df0d092dd43782fec83199750e194759d89 (patch) | |
tree | 960eb67b50ccc789dc657ebd80725ad602db2376 /src | |
parent | fa52aeb3964e38b8e7b9e34c427fa1b5a42f358f (diff) |
r600g/llvm: Tell the code emitter to ignore KILL and BUNDLE
Diffstat (limited to 'src')
-rw-r--r-- | 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 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()) { |