[all-commits] [llvm/llvm-project] a5ce8b: [RISCV] Fix wrong CFI directives

Luís Marques via All-commits all-commits at lists.llvm.org
Wed Nov 13 05:06:38 PST 2019


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/test/CodeGen/RISCV/exception-pointer-register.ll
    M llvm/test/CodeGen/RISCV/frame-info.ll
    M llvm/test/CodeGen/RISCV/large-stack.ll
    M llvm/test/CodeGen/RISCV/split-offsets.ll
    M llvm/test/CodeGen/RISCV/vararg.ll

  Log Message:
  -----------
  [RISCV] Fix wrong CFI directives

Summary: Removes CFI CFA directives that could incorrectly propagate
beyond the basic block they were inteded for. Specifically it removes
the epilogue CFI directives. See the branch_and_tail_call test for an
example of the issue. Should fix the stack unwinding issues caused by
the incorrect directives.

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




More information about the All-commits mailing list