HomePhabricator

[AVR] Fix def state of operands

Authored by aykevl on Feb 21 2021, 11:23 AM.

Description

[AVR] Fix def state of operands

Some instructions (especially mov+pop instructions) were setting the
wrong operands. For example, the pop instruction had the register set as
a source operand while it is a destination operand (the value is loaded
into the register).

I have found these issues using the machine verifier and using manual
code inspection.

Differential Revision: https://reviews.llvm.org/D97159

Details

Committed
aykevlMar 3 2021, 6:36 AM
Differential Revision
D97159: [AVR] Fix def state of operands
Parents
rGbbfef8ac952b: [AVR] Fix expansion of NEGW
Branches
Unknown
Tags
Unknown