[all-commits] [llvm/llvm-project] c85175: [AVR] Fix a bug in prologue of ISR

Ben Shi via All-commits all-commits at lists.llvm.org
Tue Jun 29 06:45:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c85175c5f6a96e44b3b343fa7b26d66bbc0b4973
      https://github.com/llvm/llvm-project/commit/c85175c5f6a96e44b3b343fa7b26d66bbc0b4973
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M llvm/lib/Target/AVR/AVRFrameLowering.cpp
    M llvm/test/CodeGen/AVR/interrupts.ll

  Log Message:
  -----------
  [AVR] Fix a bug in prologue of ISR

The r1 register should be cleared in prologue of ISR as it is used
as constant zero.

Reviewed By: dylanmckay

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




More information about the All-commits mailing list