diff options
author | Tom Stellard <[email protected]> | 2012-05-25 12:53:22 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-25 15:40:59 -0400 |
commit | 704eac09166aa6dc4c1aa82f8d0938c4060e51f4 (patch) | |
tree | 4c9b9202563a964d6d6710c5ef3cca2c7c96be94 /src/gallium/drivers/radeon/R600LowerInstructions.cpp | |
parent | 4863477e22e02af046915ca2a33dbecfd0ed34b4 (diff) |
radeon/llvm: Use a custom inserter for MASK_WRITE
Diffstat (limited to 'src/gallium/drivers/radeon/R600LowerInstructions.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/R600LowerInstructions.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/drivers/radeon/R600LowerInstructions.cpp b/src/gallium/drivers/radeon/R600LowerInstructions.cpp index 70c9b8b9f67..61fd4f6db8a 100644 --- a/src/gallium/drivers/radeon/R600LowerInstructions.cpp +++ b/src/gallium/drivers/radeon/R600LowerInstructions.cpp @@ -204,17 +204,6 @@ bool R600LowerInstructionsPass::runOnMachineFunction(MachineFunction &MF) break; } - case AMDIL::MASK_WRITE: - { - unsigned maskedRegister = MI.getOperand(0).getReg(); - assert(TargetRegisterInfo::isVirtualRegister(maskedRegister)); - MachineInstr * defInstr = MRI->getVRegDef(maskedRegister); - MachineOperand * def = defInstr->findRegisterDefOperand(maskedRegister); - def->addTargetFlag(MO_FLAG_MASK); - /* Continue so the instruction is not erased */ - continue; - } - case AMDIL::ULT: BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(AMDIL::SETGT_UINT)) .addOperand(MI.getOperand(0)) |