[PATCH] D44179: [AMDGPU] Widened vector length for global/constant address space.

Farhana Aleen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 6 16:11:09 PST 2018


FarhanaAleen created this revision.
FarhanaAleen added a reviewer: rampitec.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, arsenm.

GCN ISA supports instructions that can read 16 consecutive dwords from memory through the scalar data cache; loadstoreVectorizer should take advantage of the wider vector length and pack 16/8 elements of dwords/quadwords.

This is a re-submission.


https://reviews.llvm.org/D44179

Files:
  lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  test/CodeGen/AMDGPU/load-constant-f32.ll
  test/CodeGen/AMDGPU/load-constant-f64.ll
  test/CodeGen/AMDGPU/waitcnt-looptest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44179.137289.patch
Type: text/x-patch
Size: 11011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180307/ee38ddd5/attachment.bin>


More information about the llvm-commits mailing list