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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 01:40:40 PDT 2021


foad added inline comments.


================
Comment at: llvm/lib/CodeGen/TargetRegisterInfo.cpp:270
   // Mask out the reserved registers
   BitVector Reserved = getReservedRegs(MF);
   Allocatable &= Reserved.flip();
----------------
arsenm wrote:
> Why is this recomputing the reserved regs instead of just querying MRI::getReservedRegs?
D102318


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101939



More information about the llvm-commits mailing list