diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-01-22 15:02:36 -0800 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-01-22 15:51:06 -0800 |
commit | 607bec0bb9f787acca95f53dabe6a5c227f6b6b2 (patch) | |
tree | b68d13843d7d3829cbdd0af05ac0eed48d8afc23 /llvm/unittests/ADT/SmallVectorTest.cpp | |
parent | e92be7cd9f03ab3eb8c4a21e686743c2575a169a (diff) | |
download | llvm-607bec0bb9f787acca95f53dabe6a5c227f6b6b2.zip llvm-607bec0bb9f787acca95f53dabe6a5c227f6b6b2.tar.gz llvm-607bec0bb9f787acca95f53dabe6a5c227f6b6b2.tar.bz2 |
Change materializeFrameBaseRegister() to return register
The only caller of this function is in the LocalStackSlotAllocation
and it creates base register of class returned by the target's
getPointerRegClass(). AMDGPU wants to use a different reg class
here so let materializeFrameBaseRegister to just create and return
whatever it wants.
Differential Revision: https://reviews.llvm.org/D95268
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions