[PATCH] R600/SI: Implement areLoadsFromSameBasePtr

Matt Arsenault Matthew.Arsenault at amd.com
Tue Jul 29 14:47:06 PDT 2014


This currently has a noticable effect on the kernel argument loads.
LDS and global loads are more problematic, I think because of how copies 
are currently inserted to ensure that the address is a VGPR.

http://reviews.llvm.org/D4712

Files:
  lib/Target/R600/SIInstrInfo.cpp
  lib/Target/R600/SIInstrInfo.h
  test/CodeGen/R600/address-space.ll
  test/CodeGen/R600/atomic_cmp_swap_local.ll
  test/CodeGen/R600/ctpop64.ll
  test/CodeGen/R600/cvt_f32_ubyte.ll
  test/CodeGen/R600/extract_vector_elt_i16.ll
  test/CodeGen/R600/fcopysign.f32.ll
  test/CodeGen/R600/fcopysign.f64.ll
  test/CodeGen/R600/llvm.memcpy.ll
  test/CodeGen/R600/mubuf.ll
  test/CodeGen/R600/rotl.i64.ll
  test/CodeGen/R600/schedule-global-loads.ll
  test/CodeGen/R600/schedule-kernel-arg-loads.ll
  test/CodeGen/R600/trunc.ll
  test/CodeGen/R600/wait.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4712.11996.patch
Type: text/x-patch
Size: 20499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140729/8f9b7b25/attachment.bin>


More information about the llvm-commits mailing list