[PATCH] D141221: [AVR] Fix incorrect expansion of the pseudo 'ELPMBRdZ' instruction
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 8 04:47:52 PST 2023
benshi001 created this revision.
benshi001 added reviewers: aykevl, dylanmckay.
Herald added subscribers: Jim, hiraditya.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added subscribers: llvm-commits, jacquesguan.
Herald added a project: LLVM.
The 'ELPM' instruction has three forms:
------------------------
form | feature
- | --------- ELPM | hasELPM ELPM Rd, Z | hasELPMX ELPM Rd, Z+ | hasELPMX ------------------------
The second form is always used in the expansion of the pseudo
instruction 'ELPMBRdZ'. But for devices without ELPMX and
with only ELPM, only the first form can be used.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141221
Files:
llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
llvm/test/CodeGen/AVR/elpm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141221.487162.patch
Type: text/x-patch
Size: 4858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230108/836375b6/attachment.bin>
More information about the llvm-commits
mailing list