[PATCH] D33755: AMDGPU: Fix scratch wave offset relative FI expansion

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 19:58:50 PDT 2017


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

The offset may not be an inline immediate, so this needs
to be materialized into a register. The post-RA run of
SIShrinkInstructions is able to fold it later if it can.


https://reviews.llvm.org/D33755

Files:
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  test/CodeGen/AMDGPU/frame-index-elimination.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33755.100961.patch
Type: text/x-patch
Size: 5886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170601/e809b3c4/attachment.bin>


More information about the llvm-commits mailing list