summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-04-30 04:04:48 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-04-30 04:04:48 +0000
commitc51e4468b7948545b0eb3db3384c88d6ec241eca (patch)
tree14d8acf047e1382706abf43c9d140c42f0b47c67 /llvm/lib
parent53ca3c93dba54ce83bc5df5400aaa07cdbaeff1c (diff)
downloadbcm5719-llvm-c51e4468b7948545b0eb3db3384c88d6ec241eca.tar.gz
bcm5719-llvm-c51e4468b7948545b0eb3db3384c88d6ec241eca.zip
AMDGPU/SI: Remove wait state handling for SMRD in SIInsertWaits
This was supposed to be part of r268143. llvm-svn: 268154
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/SIInsertWaits.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInsertWaits.cpp b/llvm/lib/Target/AMDGPU/SIInsertWaits.cpp
index 15884732c12..ead4c9ebf18 100644
--- a/llvm/lib/Target/AMDGPU/SIInsertWaits.cpp
+++ b/llvm/lib/Target/AMDGPU/SIInsertWaits.cpp
@@ -634,12 +634,6 @@ bool SIInsertWaits::runOnMachineFunction(MachineFunction &MF) {
insertDPPWaitStates(I);
}
- // Insert required wait states for SMRD reading an SGPR written by a VALU
- // instruction.
- if (ST.getGeneration() <= AMDGPUSubtarget::SOUTHERN_ISLANDS &&
- I->getOpcode() == AMDGPU::V_READFIRSTLANE_B32)
- TII->insertWaitStates(MBB, std::next(I), 4);
-
// Record pre-existing, explicitly requested waits
if (I->getOpcode() == AMDGPU::S_WAITCNT) {
handleExistingWait(*I);
OpenPOWER on IntegriCloud