This matches what scavengeRegisterBackwards does.
This is in preparation for converting most uses of scavengeRegister to
scavengeRegisterBackwards, to reduce test case churn when that lands and
to help with bisection if anything goes wrong.
Paths
| Differential D150792
[RegScavenger] Change scavengeRegister to pick registers in allocation order ClosedPublic Authored by foad on May 17 2023, 8:47 AM.
Details
Summary This matches what scavengeRegisterBackwards does. This is in preparation for converting most uses of scavengeRegister to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 19 2023, 11:14 AM Closed by commit rG8fcb4fa847f9: [RegScavenger] Change scavengeRegister to pick registers in allocation order (authored by foad). · Explain WhyMay 19 2023, 1:42 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 523068 llvm/include/llvm/CodeGen/RegisterScavenging.h
llvm/lib/CodeGen/RegisterScavenging.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
llvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
llvm/test/CodeGen/AMDGPU/flat-scratch-init.ll
llvm/test/CodeGen/AMDGPU/flat-scratch.ll
llvm/test/CodeGen/AMDGPU/frame-index.mir
llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
llvm/test/CodeGen/AMDGPU/load-lo16.ll
llvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
llvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir
llvm/test/CodeGen/AMDGPU/scratch-simple.ll
llvm/test/CodeGen/AMDGPU/spill-offset-calculation.ll
llvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
llvm/test/CodeGen/AMDGPU/vgpr-spill-scc-clobber.mir
|