[all-commits] [llvm/llvm-project] f3837e: [AVR] Fix incorrect expansion of pseudo instructio...

Ben Shi via All-commits all-commits at lists.llvm.org
Sat Jun 10 09:22:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3837e726ff9c5e91163213d34e4547bc7f72f40
      https://github.com/llvm/llvm-project/commit/f3837e726ff9c5e91163213d34e4547bc7f72f40
  Author: Ben Shi <2283975856 at qq.com>
  Date:   2023-06-11 (Sun, 11 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
    M llvm/lib/Target/AVR/AVRISelLowering.cpp
    M llvm/lib/Target/AVR/AVRISelLowering.h
    M llvm/lib/Target/AVR/AVRInstrInfo.td
    A llvm/test/CodeGen/AVR/pseudo/ROLBRdR1.mir
    A llvm/test/CodeGen/AVR/pseudo/ROLBRdR17.mir
    R llvm/test/CodeGen/AVR/pseudo/ROLBrd.mir
    M llvm/test/CodeGen/AVR/rot.ll

  Log Message:
  -----------
  [AVR] Fix incorrect expansion of pseudo instruction ROLBRd

Since ROLBRd needs an implicit R1 (on AVR) or an implicit R17 (on AVRTiny),
we split ROLBRd to ROLBRdR1 (on AVR) and ROLBRdR17 (on AVRTiny).

Reviewed By: aykevl, Patryk27

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




More information about the All-commits mailing list