[all-commits] [llvm/llvm-project] 1c737f: [RISCV] Fix CFA when doing split sp adjustment wit...

Luís Marques via All-commits all-commits at lists.llvm.org
Sun Nov 10 08:10:33 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c737f54bee9df81c63ddf6ee2ad1d23a93c0ba0
      https://github.com/llvm/llvm-project/commit/1c737f54bee9df81c63ddf6ee2ad1d23a93c0ba0
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2019-11-10 (Sun, 10 Nov 2019)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/test/CodeGen/RISCV/large-stack.ll
    M llvm/test/CodeGen/RISCV/vararg.ll

  Log Message:
  -----------
  [RISCV] Fix CFA when doing split sp adjustment with fp

Summary: When using the split sp adjustment and using the frame-pointer
we were still emitting CFI CFA directives based on the sp value. The
final sp-based offset also didn't reflect the two-stage sp adjust. There
remain CFI issues that aren't related to the split sp adjustment, and
thus will be addressed in a separate patch.

Reviewers: asb, lenary, shiva0217
Reviewed By: lenary, shiva0217
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69385




More information about the All-commits mailing list