[PATCH] D121539: [AVR] Generate 'rcall' instead of 'call' on avr2 and avr25
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 12 22:43:18 PST 2022
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 'call' (long call) instruction is available on avr3 and above,
and devices in avr2 and avr25 should use the 'rcall' (short call)
instruction for function calls.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121539
Files:
llvm/lib/Target/AVR/AVRInstrInfo.td
llvm/test/CodeGen/AVR/call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121539.414908.patch
Type: text/x-patch
Size: 6828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220313/4bfb4b5c/attachment.bin>
More information about the llvm-commits
mailing list