[all-commits] [llvm/llvm-project] 1cae2f: [RISCV] Correct the CallPreservedMask for the func...

ShivaChen via All-commits all-commits at lists.llvm.org
Fri Feb 14 17:16:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cae2f9d192c69833e22684ca338660942ab464e
      https://github.com/llvm/llvm-project/commit/1cae2f9d192c69833e22684ca338660942ab464e
  Author: Shiva Chen <shiva at andestech.com>
  Date:   2020-02-15 (Sat, 15 Feb 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
    A llvm/test/CodeGen/RISCV/interrupt-attr-callee.ll

  Log Message:
  -----------
  [RISCV] Correct the CallPreservedMask for the function call in an interrupt handler

CallPreservedMask is used to describe the register liveness after a
function call. The function call in an interrupt handler should use the same
CallPreservedMask as normal functions. So that only callee save registers
can live through the function call.




More information about the All-commits mailing list