diff options
author | Ben Shi <powerman1st@163.com> | 2023-01-08 20:35:23 +0800 |
---|---|---|
committer | Ben Shi <powerman1st@163.com> | 2023-03-21 11:33:56 +0800 |
commit | 4fa9dc948226e374372537250d046924d348307e (patch) | |
tree | a3ad83a434a3c1287488515dc047d8ef8628d185 /llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp | |
parent | 00c4343d216348b9c527c2f8040a202c1a78a4a0 (diff) | |
download | llvm-4fa9dc948226e374372537250d046924d348307e.zip llvm-4fa9dc948226e374372537250d046924d348307e.tar.gz llvm-4fa9dc948226e374372537250d046924d348307e.tar.bz2 |
[AVR] Fix incorrect expansion of the pseudo 'ELPMBRdZ' instruction
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 but only
with ELPM, only the first form can be emitted.
Reviewed By: jacquesguan
Differential Revision: https://reviews.llvm.org/D141221
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp')
0 files changed, 0 insertions, 0 deletions