[PATCH] D62300: [AVR] Fix incorrect source regclass of LDWRdPtr
Jim Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 23 03:46:47 PDT 2019
Jim created this revision.
Herald added subscribers: llvm-commits, dylanmckay.
Herald added a project: LLVM.
LDWRdPtr would be expanded to ld+ldd. ldd only accepts the pointer register is Y or Z.
So the register class of pointer of LDWRdPtr should be PTRDISPREGS instead of PTRREGS.
Repository:
rL LLVM
https://reviews.llvm.org/D62300
Files:
lib/Target/AVR/AVRInstrInfo.td
lib/Target/AVR/AVRRegisterInfo.td
test/CodeGen/AVR/load.ll
test/CodeGen/AVR/pseudo/LDDWRdPtrQ-same-src-dst.mir
test/CodeGen/AVR/pseudo/LDDWRdPtrQ.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62300.200923.patch
Type: text/x-patch
Size: 4266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190523/ceead3ed/attachment.bin>
More information about the llvm-commits
mailing list