[PATCH] D19493: AMDGPU/SI: Add pass for promoting uniform loads to constant address space

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 13:45:24 PDT 2016


tstellarAMD created this revision.
tstellarAMD added reviewers: arsenm, rampitec.
tstellarAMD added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

This pass will convert uniform global address space loads to constant address
space loads when the load's pointer points to memory which has not been
modified by the function.

http://reviews.llvm.org/D19493

Files:
  lib/Target/AMDGPU/AMDGPU.h
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/CMakeLists.txt
  lib/Target/AMDGPU/GCNOptimizeUniformMemOps.cpp
  test/CodeGen/AMDGPU/uniform-mem-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19493.54897.patch
Type: text/x-patch
Size: 10002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160425/66bfad4c/attachment.bin>


More information about the llvm-commits mailing list