[PATCH] Make the alignment an explicit argument to ldu/ldg

Jingyue Wu jingyue at google.com
Wed Aug 27 19:19:23 PDT 2014


Hi jholewinski, eliben, meheff,

Instead of specifying the alignment as metadata which may be destroyed by
transformation passes, make the alignment the second argument to ldu/ldg
intrinsic calls.

http://reviews.llvm.org/D5093

Files:
  include/llvm/IR/IntrinsicsNVVM.td
  lib/Target/NVPTX/NVPTXISelLowering.cpp
  test/CodeGen/NVPTX/ldu-i8.ll
  test/CodeGen/NVPTX/ldu-ldg.ll
  test/CodeGen/NVPTX/ldu-reg-plus-offset.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5093.13018.patch
Type: text/x-patch
Size: 7212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140828/d218b391/attachment.bin>


More information about the llvm-commits mailing list