diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2020-11-10 11:15:16 -0800 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2020-11-10 13:38:11 -0800 |
commit | 8262e94a6da77e176dbd13d9eadce76da74489d4 (patch) | |
tree | 9fb13e36faaf8f58daaedd8412e161b70e8fceb7 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | e408935bb5339e20035d84307c666fbdd15e99e0 (diff) | |
download | llvm-8262e94a6da77e176dbd13d9eadce76da74489d4.zip llvm-8262e94a6da77e176dbd13d9eadce76da74489d4.tar.gz llvm-8262e94a6da77e176dbd13d9eadce76da74489d4.tar.bz2 |
[ARM] Fix PR 47980: Use constrainRegClass during foldImmediate opt.
Previously we used setRegClass to rgpr, which may expand the register
domain if the result was already in a constrained class (tcgpr in the
above PR).
Differential Revision: https://reviews.llvm.org/D91192
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions