[PATCH] D144956: Fix VGPR + offset Scratch offset folding

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 09:50:18 PST 2023


Petar.Avramovic updated this revision to Diff 503078.
Petar.Avramovic added a comment.

Move check next to isBaseWithConstantOffset, introduce helper function that can be used in other two patches also.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144956/new/

https://reviews.llvm.org/D144956

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
  llvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
  llvm/test/CodeGen/AMDGPU/fast-unaligned-load-store.private.ll
  llvm/test/CodeGen/AMDGPU/flat-scratch-i8-i16.ll
  llvm/test/CodeGen/AMDGPU/flat-scratch-svs.ll
  llvm/test/CodeGen/AMDGPU/flat-scratch.ll
  llvm/test/CodeGen/AMDGPU/memory_clause.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144956.503078.patch
Type: text/x-patch
Size: 68201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230307/c0d10b92/attachment.bin>


More information about the llvm-commits mailing list