[PATCH] D33067: AMDGPU: Teach isLegalAddressingMode about flat offsets

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 13:34:47 PDT 2017


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

Also fix reporting r+r as a valid addressing mode without offsets.


https://reviews.llvm.org/D33067

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/cgp-addressing-modes-flat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33067.98522.patch
Type: text/x-patch
Size: 6508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170510/3408365b/attachment.bin>


More information about the llvm-commits mailing list