Details
Details
- Reviewers
aykevl dylanmckay - Commits
- rGb1dcd6bafb90: [MC][AVR] Implement decoding ST/LD
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp | ||
---|---|---|
445 | The LD/ST instructions should be correctly decoded by the above decodeInstruction, unfortunately we have to explicitly use a specified DecoderFunction decodeLoadStore. As I mentioned in https://reviews.llvm.org/D123442, we should re-think the organization of definition of LD/ST/LDD/STD in TD files to avoid that. But currently I can not figure out a proper way, it invloves register allocation. |
Comment Actions
This patch and another one (https://reviews.llvm.org/D123442) fix the issue https://github.com/llvm/llvm-project/issues/54776.
The LD/ST instructions should be correctly decoded by the above decodeInstruction, unfortunately we have to explicitly use a specified DecoderFunction decodeLoadStore.
As I mentioned in https://reviews.llvm.org/D123442, we should re-think the organization of definition of LD/ST/LDD/STD in TD files to avoid that. But currently I can not figure out a proper way, it invloves register allocation.