summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-23 21:00:13 +0000
committerTom Stellard <[email protected]>2012-08-23 21:54:32 +0000
commit2ad8608cb3e6a8d2f375ad2295504167b082711f (patch)
tree6b84323bc2bd123483f556c749d5fa5b63f8242a /src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
parent228a6641ccddaf24a993f827af1e97379785985a (diff)
radeon/llvm: Fix some coding style issues
Diffstat (limited to 'src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp')
-rw-r--r--src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp b/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
index 46360e3ccbd..29f1291aea4 100644
--- a/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
+++ b/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
@@ -149,12 +149,6 @@ MCCodeEmitter *llvm::createR600MCCodeEmitter(const MCInstrInfo &MCII,
void R600MCCodeEmitter::EncodeInstruction(const MCInst &MI, raw_ostream &OS,
SmallVectorImpl<MCFixup> &Fixups) const {
-/*
- if (MI.getNumOperands() > 1 && MI.getOperand(0).isReg() &&
- MI.getOperand(0).isDead()) {
- return;
- }
-*/
if (isTexOp(MI.getOpcode())) {
EmitTexInstr(MI, Fixups, OS);
} else if (isFCOp(MI.getOpcode())){
@@ -209,12 +203,6 @@ void R600MCCodeEmitter::EmitALUInstr(const MCInst &MI,
if (GET_FLAG_OPERAND_IDX(MCDesc.TSFlags) != 0)
NumOperands--;
- // Some instructions are just place holder instructions that represent
- // operations that the GPU does automatically. They should be ignored.
-// if (TII->isPlaceHolderOpcode(MI.getOpcode())) {
-// return;
-// }
-
if(MI.getOpcode() == AMDGPU::PRED_X)
NumOperands = 2;