llvm.org GIT mirror llvm / 187225d
Merging r201096: ------------------------------------------------------------------------ r201096 | thomas.stellard | 2014-02-10 08:58:27 -0800 (Mon, 10 Feb 2014) | 6 lines R600/SI: Only use S_WQM_B64 in pixel shaders This doesn't change any functionality, since we only have two shader types (compute and pixel) that use local memory. We're just changing the logic to match the documentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@204647 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
520520 AMDGPU::M0).addImm(0xffffffff);
521521 }
522522
523 if (NeedWQM && MFI->ShaderType != ShaderType::COMPUTE) {
523 if (NeedWQM && MFI->ShaderType == ShaderType::PIXEL) {
524524 MachineBasicBlock &MBB = MF.front();
525525 BuildMI(MBB, MBB.getFirstNonPHI(), DebugLoc(), TII->get(AMDGPU::S_WQM_B64),
526526 AMDGPU::EXEC).addReg(AMDGPU::EXEC);