[PATCH] D101939: [AMDGPU] Disable the SIFormMemoryClauses pass at -O1

Baptiste Saleil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 7 08:18:20 PDT 2021


bsaleil updated this revision to Diff 343689.
bsaleil added a comment.

Add the `TargetRegisterInfo::getAllocatableSets` method to avoid calling `getReservedRegs` multiple times when we want allocatable sets for multiple register classes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101939

Files:
  llvm/include/llvm/CodeGen/TargetRegisterInfo.h
  llvm/lib/CodeGen/TargetRegisterInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp
  llvm/test/CodeGen/AMDGPU/llc-pipeline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101939.343689.patch
Type: text/x-patch
Size: 4718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210507/5c7fed47/attachment.bin>


More information about the llvm-commits mailing list