diff options
author | Tom Stellard <[email protected]> | 2012-05-07 15:20:26 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-08 15:47:45 -0400 |
commit | 52a7f212d36bd9829494bd588ecb9a3ebe9fc28a (patch) | |
tree | 6c4bb5a2d57b80d7d8b082edfd0ae7b72e9107b6 /src/gallium/drivers/radeon/SICodeEmitter.cpp | |
parent | e042b3aeed917b179d24c1f7a099c4cce56d2e25 (diff) |
radeon/llvm: Remove the ReorderPreloadInstructions pass
Diffstat (limited to 'src/gallium/drivers/radeon/SICodeEmitter.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/SICodeEmitter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/SICodeEmitter.cpp b/src/gallium/drivers/radeon/SICodeEmitter.cpp index ad494fae7c6..9ef6bcb4d8a 100644 --- a/src/gallium/drivers/radeon/SICodeEmitter.cpp +++ b/src/gallium/drivers/radeon/SICodeEmitter.cpp @@ -144,8 +144,6 @@ bool SICodeEmitter::runOnMachineFunction(MachineFunction &MF) { MF.dump(); TM = &MF.getTarget(); - const AMDGPUInstrInfo * TII = - static_cast<const AMDGPUInstrInfo*>(TM->getInstrInfo()); emitState(MF); @@ -155,8 +153,7 @@ bool SICodeEmitter::runOnMachineFunction(MachineFunction &MF) for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ++I) { MachineInstr &MI = *I; - if (!TII->isRegPreload(MI) && MI.getOpcode() != AMDIL::KILL - && MI.getOpcode() != AMDIL::RETURN) { + if (MI.getOpcode() != AMDIL::KILL && MI.getOpcode() != AMDIL::RETURN) { emitInstr(MI); } } |