[PATCH] D12452: AMDGPU/SI: Add support for llvm.r600.local.size.* instrics when targeting HSA

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 09:41:27 PDT 2015


tstellarAMD updated this revision to Diff 36525.
tstellarAMD added a comment.

Added a fix for the offset bug, and added mask/shift to avoid using extloads.
Unfortunately, the DAGCombine still emits an extload for the local.size.x case.
We really need address space arguments for isExtLoadLegal().


http://reviews.llvm.org/D12452

Files:
  lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  lib/Target/AMDGPU/SIInstrInfo.h
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  lib/Target/AMDGPU/SIRegisterInfo.h
  test/CodeGen/AMDGPU/work-item-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12452.36525.patch
Type: text/x-patch
Size: 16780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151005/294a0906/attachment.bin>


More information about the llvm-commits mailing list