[AVR] Optimize the 16-bit NEGW pseudo instruction
authorBen Shi <powerman1st@163.com>
Tue, 17 Nov 2020 09:51:58 +0000 (17:51 +0800)
committerBen Shi <powerman1st@163.com>
Tue, 17 Nov 2020 09:51:58 +0000 (17:51 +0800)
commit9f8f8db339676f20fc3f3be20885c9fbdfb2cb32
tree713549387dac96ca8384663df1a7e6c39751c378
parentb2f4c5fddc767481ff2532505554dc93550e4d06
[AVR] Optimize the 16-bit NEGW pseudo instruction

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D88658
llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
llvm/lib/Target/AVR/AVRInstrInfo.td
llvm/test/CodeGen/AVR/neg.ll
llvm/test/CodeGen/AVR/pseudo/NEGWRd.mir [new file with mode: 0644]