diff options
author | Patryk Wychowaniec <pwychowaniec@pm.me> | 2022-04-11 02:21:45 +0000 |
---|---|---|
committer | Ben Shi <ben.shi@streamcomputing.com> | 2022-04-11 02:42:13 +0000 |
commit | d16a631c124fdc27dd33037a826804ebf21dc582 (patch) | |
tree | 12b17e051007cc8e5bc9be8259816806300f24ea /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 505fce5a9e5fdc2e6cb3a410fe88960c9678ca6e (diff) | |
download | llvm-d16a631c124fdc27dd33037a826804ebf21dc582.zip llvm-d16a631c124fdc27dd33037a826804ebf21dc582.tar.gz llvm-d16a631c124fdc27dd33037a826804ebf21dc582.tar.bz2 |
[AVR] Merge AVRRelaxMemOperations into AVRExpandPseudoInsts
This commit contains a refactoring that merges AVRRelaxMemOperations
into AVRExpandPseudoInsts, so that we have a single place in code that
expands the STDWPtrQRr opcode.
Seizing the day, I've also fixed a couple of potential bugs with our
previous implementation (e.g. when the destination register was killed,
the previous implementation would try to .addDef() that killed
register, crashing LLVM in the process - that's fixed now, as proved by
the test).
Reviewed By: benshi001
Differential Revision: https://reviews.llvm.org/D122533
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions