[PATCH] D29601: AMDGPU: Simplify isLegalAddressingMode

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 13:20:49 PST 2017


arsenm created this revision.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: tpr, tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.

4-byte alignment is good enough in all address spaces,
so early exit for that case.

     

This fixes being overly conservative with stack accesses
of larger types.


https://reviews.llvm.org/D29601

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/unaligned-load-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29601.87290.patch
Type: text/x-patch
Size: 9123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170206/6d4c9e55/attachment.bin>


More information about the llvm-commits mailing list