[PATCH] D42079: AMDGPU: Add a function attribute that shrinks buggy s_buffer opcodes on GFX9

Marek Olšák via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 15 09:41:32 PST 2018


mareko created this revision.
mareko added reviewers: arsenm, nhaehnle.
Herald added subscribers: JDevlieghere, t-tye, tpr, dstuttard, yaxunl, wdng, kzhuravl.

This shouldn't be set for shaders running in an untrusted environment.

42952 affected shaders.
Code size in affected shaders: -12.64%


Repository:
  rL LLVM

https://reviews.llvm.org/D42079

Files:
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  lib/Target/AMDGPU/SIMachineFunctionInfo.h
  lib/Target/AMDGPU/SIShrinkInstructions.cpp
  test/CodeGen/AMDGPU/smrd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42079.129877.patch
Type: text/x-patch
Size: 7993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180115/305a820f/attachment.bin>


More information about the llvm-commits mailing list